Pagination control update.

Pagination controls should drop out if there is nothing to paginate.