hide pagination if we have less than 10 records