removed useParentForScrolling option; added scrollElement option

Instead of the true/false useParentForScrolling option, added an option
for passing the scrollElement in directly