added basic onSwipe listener