Implement new active tab directive
Clean syntax