testing for swiping