put course direction back in correct (0..360) domain