Fixing image loading when the view is changed and using scrollstop plugin

I found an error with lazy loading: when you change the view, images won't load. Furthermore, there is a small plugin which makes it possible to only show images when scrolling is stopped, so it further reduces server load and memory usage.