patched endless scrolling, thx to Bibek Sahu