Fix rotation animation in expanded mode.