Sidebar improvements

Some UX improvements to the sidebar in a database view