How to smoothly scroll to a DOM element.