Adding paging function to account list view