Press space at the right time to switch directions. This game is very hard! Make it to level 50 to beat the game.