This is a continuation of the original topic #1130434 from 2020, that I believe went unresolved.
I need a scrollable fixed (the fixed part is solved, I just need to make it scrollable) sidebar to use with a single widget – Table of Contents as a page contents summary. A good example of this kind of sidebar would be a Google Docs template. Here are some links and screenshots to help you understand my point better: