add panel controller - selectTab isSelected function