Added ability to delegate showing and hiding of panels to CSS

This allows responsive designs to handle tab panels differently.