change to use addEventListener instead of declarative event binding for
scroll event to avoid unnecessary Platform.flush calls