Refactored table panels for DRY