How to make a div with dynamic content automatically scroll