fix flip direction to match gestures