Scroll browser window if necessary to best fit target element