This is not a defect on the device but a limitation with the accelerometer (orientation sensor), it will only function if the device is held vertically (upright position).