test click and swipe