added an auto scroll to top
added a flag for this autoScroll capability.