Press the up arrow on your keyboard to jump. when in the air press down arrow to double jump. The flip animation should be in the direction of which way you are facing.