Improved swipe gesture