fixed hiding of nav