attempt to fix infinite scrolling