Trigger swipeleft and swiperight events on swipe