Auto open close

This branch makes the sidebar automatically close when the charm details or unit details are displayed by the inspector.  When the details page is hidden, the sidebar will re-expand (if it had been visible to start with).