Oil jumps 5% after 7 days of losses, boosted by weaker dollar