remove pagination if only 1 page