properly call relayout in infinite-scroll