Fix the sidebar expansion when working in the configuration