v1.0.1
- Abstracted the target element offset calculation, to keep the code DRY
- Optimized the
getBoundingClientRect
adjustment, by using thestart
position, rather than calling for the scroll location again
getBoundingClientRect
adjustment, by using the start
position, rather than calling for the scroll location again