theme changes and sidebar follows offcanvas model