Reorganizing some of the hideable sidebar stuff and dismissing a hideable sidebar when the window resizes.