rotate cars depending on their heading