only show pagination if more than 1 page