cinnamon-settings: When switching between normal and advanced modes while inside a panel,

Resize the window accordingly.