Change disgin and hide pagination if pages less than 2.