fix scrollIntoViewIfNeeded