Fine-tuned scrollspy-alike.