fixed infinite ajax calls on scrolling