bugfix: hide pagination if there's only one page