add swipe gesture controller