nav opens & closes correctly