hide pagination if there is only a single page.