support for snap to rotation