This started off as an article about building a simple ScrollSpy module. Simplicity got away from me however, so I'll…