Can it be possible to have multiple instances on the same page with different overflow. The problem appears if you initialize the infinite ajax scroll in your main javascript file which will be loaded on every page, then the first initialization will be overwritten.