* fix rotation to always favor shorter direction