Detecting Touch And PanGesture with Objective-C