fixed bug where navbar wouldn't expand