Added Tap and Pan Gestures
Converted touch handlers to gesture recognizers