complete swipe handler