fix navbar collapse issue

When opening the navbar for the first time, the navbar would have a static
height declared. Adding the collapse class to the nav-collapse element
seems to solve this issue.