add swipe/pan decider