This a bit simpler than with state flags but requires @current to be defined.
First tab Second tab Third tab
First panel.
Second panel.
This one is here to make the pannel tall
Third panel.