Add swipe gesture detector