A simple, framework-agnostic scrollspy script.