Fix endless scrolling not working