fix gestures for IOS devices