creating a tap gesture recognizer