fix rotation for gyro usage