adjust heading for all orientations including upside down(why???)