Use getBoundingClientRect to do DOM measurements.

offsetLeft and offsetTop don't take parents' offsets into account.
Take scrolling into account when measuring DOM offsets.
Merge pull request #10 from desmosinc/getBoundingClientRect

Use getBoundingClientRect to do DOM measurements.