Please use the reusable tabHeader.tpl instead of printing tab markup yourself.