Just call this event 'swipe', since you are passing on the event object without interpretation, and since you handle it in a function named onSwipe().