Improved the display of the pagination (now using a dropdown).