cancel clicks that result from a swipe