Oil jumps 5% on weaker dollar after seven days of losses