Fix topbar mobile navigation for PJAX apps