centralize the catching of scrollSpy events