recognize only gestures at the edge