Fix pager UI when there is no next page