Ensure TOC is autoclosed on mobile width