before swipe
swipe gesture done