Beautify infinite scroll

I did some clean up and finally managed to identify the part of the code that causes the loader to load everything at once.

I also increased the size of the chunks that get loaded by the infinite scroll loader.