[Fixing #54199122] Fix sidebar toggle bug