Fix bug commit->code still show sidebar