Do I need to automatically automatically scroll the first visible element with a specific div class using javascript?
thanks!
You should be able to use something like this:
$('html, body').animate({ scrollTop: $('.class:visible:first').offset().top }, 1000);
Demo: http://jsfiddle.net/Blender/xUw54/2/