a simple recognizer for spatial gestures