You have to slide the mug under the obstacle to the other side, then jump over it quickly. You jump further when not holding the mug. It's tricky. I got stuck about three levels later, where you need to do a really long jump and there's no place you can throw the mug to.