@michael1961 don’t want to hijack your discussion, but check it out.
I’ve had this idea in my head for a few weeks about building javascript modules that do templating/behavior for HTML (similar to, e.g., a jQuery plugin), but can be declaratively triggered (i.e., via an HTML tag name or attribute, similar to the idea behind Web Components).
Your scroller question gave me the perfect excuse to try to make it happen. Thanks! (And yes, I’ll get to your other question tomorrow. ‘Night!)