Swipe Logic