add swipe gesture recognizer