Implemented Swipe Gestures