Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm pretty sure that last print $category;
in /templates/panels-add-content-modal.tpl.php should not be there. It gives an additional row with a link to the last category under all the other content, and forces a scroll of the modal content.