I typically use a script blocker on my desktop computer. I noticed that, in the left side TOC, every item was fully expanded while scripts were blocked, and fully collapsed once I enabled scripts. This may be working as designed, as a default behavior. Merely something that might be of interest.