adding active states to pages in offcanvas menu