Dollar on back foot as market optimism lifts riskier currencies 2