#6 Events: bottom and top events are emitted on resize. Update standalone version.