Add ability to scroll to elements with offsets.

For our use case, we need the ability to center on the target element. If this is useful to the community, please pull it in. Thanks for the work you've put in to this project.