add the paging feature for classify view