Util for finding the shortest path from the current rotated degree to the new degree.
the shortest degree of rotation possible
the new position of the rotation
the current position of the rotation