Calculate where to scroll to based off the position in the div
Calculate where to scroll to based off the position in the div

Also, only scroll if not currently visible.

jonom/silverstripe-cms,silverstripe-labs/silverstripe-reports,silverstripe/silverstripe-cms,dhensby/silverstripe-cms,dhensby/silverstripe-reports,helpfulrobot/i-lateral-silverstripe-siteconfig,dhensby/silverstripe-reports,jonom/silverstripe-cms,dhensby/silverstripe-cms,silverstripe-labs/silverstripe-reports,dhensby/silverstripe-cms,silverstripe/silverstripe-siteconfig,silverstripe/silverstripe-cms