remove centered attr and add def for scrollIntoView attr