add toggleSidebarWithAnimation