Swipe working correctly