Compass using DeviceOrientationEvents