Make Leaflet scroll the window to the extract.
Also add some comments to the script.