Expand main content view if sidebar is empty

In views where the sidebar can be totally empty (eg: grid view with fields and filters hidden), the main content area should expand to use this space.