swipeStart swipeEnd event handler