Test swipe event