Prepare for offcanvas menu.