when there is no paging, those buttons will not be there