reimplemented swipe/click gestures - alex