Scroll spy

Added some docs, formatting.