Don't show pagination if current page number is greater than total number of pages