adding events to sidebar