revised paging in UI