Bug fix: call view.show after determining sidebar visibility

Makes sure that views that need to know their
maximum width before redrawing don't draw over
the sidebar.