changed GestureRecognition

changed stuff in gesture recognition