added new gestures for swipe and tap