adding class to a nav
added collapse to tabs