added UI detectors of tap and pan
added UISwipeGestureRecognizers