implemented jquery scrolling to active element, cached the same way as the path
refactored to allow scrolling of divs or body