fix ondemand loading while scrolling