solved ajax loading bug on paged index