ScrollIntoView nearest test

Consider what happens when a carousel component uses scrollIntoView to scroll to slides? Click the buttons to scroll into view.