Moved Heading controller logic to new view logic