migrate offcanvas.js to multi-question-directive.js