Add swipe events.