I have a tab component with lots of items inside it.
I would like to keep the selected item in the center of the page (as long as there is still space available to scroll it.
Here's an image of how I would like it to work:
Is there a way I can use JavaScript to move the scroll position?