jQuery ajax infinite scrolling with sorting & searching