Pagination for queries done easily.