fixing navigation disappearing