Oil climbs as dollar slips amid weak demand prospects