Factor out paging controls from comment moderation template