Finally fixed bug with grid infinite scrolling