infinite scroll

I tried to use as less jQuery as possible but for calculating screen
size and position it was faster