You're probably going to need MutationObservers for this:
You can set subtree to true when you init the observer, and this can then update the scrollbar when descendant attributes, children, or character data change.
Polymer has a polyfill for IE9 and above. (The polyfill requires DOM MutationEvents if MutationObserver is unavailable, limiting how far back it can support).