Nikkei within reach of all-time high, dollar finds its footing