Fixes layout regression in accordion
Adds delegated events and mutation observers #1117