add panel tab behavior