Support swipe and tap gestures to change slides.