Rotate axes so compass heading is determined relative to a vector normal to the screen, rather than out of the top of the phone, for better accuracy in an upright orientation.