Avoid empty ToC flashing on page load. There's probably a cleaner way to do this.
Hack scrollspy to make it work for list-item.