Fix sidebar close.