Disable rotating of items based on the layout.