fixes menu disappear not reappearing bug on toc item click