Adds infinite scroll to main records table.