add swipe gesture