add the pagination for ListView