Initial base commit; includes logic for sidebar removal/collapse