add offcanvas to medium