Set the preferred orientation to be portrait only for smaller devices.