Work around scrollIntoView/negative margin interaction