Performance improvements and scrollstop update

I made performance improvements tested up to 5K thumbnails.

Also updated to the latest version of scrollstop.