add infinite scroller code