extract Swipe detection