Only render paging controls when there are many pages

This PR makes the pager plugin only render paging controls if there is more than one page