feat: update directives for the tab panel
fix: javascript error