add swipe events