fixed nav staying hidden in certain situations. closes #1