Added an option to display the pagination configuration only when the number of pages is greater than one