minor tweak to infinite scrolling