panorama: ensure we have an active tab