fixing mouse gestures