Atom development - log scroll events?

I am hacking the Atom init script to add extra thematic elements (new comment styling) and need to run a callback function every time the user scrolls. Googling didn’t find anything, and the only atom developer forum post was from 2016 and used deprecated API’s. This is not just a job for styles.less as I want to highlight selectively based on comment text. The only issue is that it doesn’t reload comments upon scrolling.

https://developer.mozilla.org/en-US/docs/Web/API/Document/scroll_event

What element should I set the event listener on?