minor layout fixes for panel borders