classify click & swipe