fixing navbar to have titles in it