I have a function that smoothly expands an element from 0px to its full height (element.scrollHeight) via the max-height CSS property and then uses the scrollBy() method to