added swipe gesture recognizer