HomePhabricator

Also scroll the TOC when it is toggled

Description

Also scroll the TOC when it is toggled

Broke scrollTocToActiveItem into its own method, so it
can be called multiple times and be easily tested.

Boost number of TOC titles fetched per batch to 50

Also, add a class name for the TOC <ul>

Bug: T78572
Bug: T85944
Change-Id: Ica03a7b07cf8d63a9f73b208aa474b5b6354e219