add class in the nav when there are subtabs present