Fix swipe gesture