Fix sidebar menu issue(not all parents would expand)