Sidebar magic

Merging the hiding sidebar into the file that Sara created