ajax fixes and endless scrolling