refine gestures