finish swipe gesture