gold futures swing sharply higher, as u.s. dollar pulls back