solve sidebar unshow bug