Revert "Fix rotation animation in expanded mode."

This reverts commit 8889da6d8de51fb3a7b8ebf5d33c3d9c30068600.