Refactor tap,swipe,etc to gestureEvents with a generic creation