add rotation for compass