resolve navigation bar disappear for ever bug