Modify sidebar styles and js to accommodate layered sidebar behavior.