In addition to swiping left and right to dodge obstacles, don't forget that you can sometimes jump over or duck under them too. If an obstacle is the same height as your Minion, try to jump over it (swipe up). If there's a gap between the obstacle and the ground, try ducking below it (swipe down).