preliminary swipe recognition