fix infinite_scroll plugin