fix performance issues in endless scrolling