testing for swipe