Fix sidebar animation