[update] fixed nav close function