smooth recycled scrolling with reactjs