toggleSideBar fix