Markets rebound after last week's losses