fixed sidebar bug on leaveWork anim