Added swipe gesture recognizer.