Better Swipe Gesture functionality