Prevents mobile scroll “fighting” by limiting scrollspy and the page TOC to desktop-sized viewports. Removes any existing TOC markup and related layout class when below the desktop breakpoint to avoid interfering with touch scrolling.