Rotate to the closest bearing

Interpolates to the closest bearing when doing rotation animations. Closes #818.