correct calibration of device orientation (#5)