toggles mini mode don't changed center of the window