offcanvas closes on new recipe link click