tabs: added show function and events