added swipe gesture rcognizer.