Oil climbs as dollar slumps but pandemic surge weighs