corrected heading with screen orientation