Hide the sidebar contents when closed

Fixes #3268