Dollar turns down in risk-on pivot as Fed chair talks policy