add offsetTop of each of the element's offsetParents

```offsetTop``` gives coordinates relative to the ```offsetParent``` of the element.

The patch moves up the tree of ```offsetParent```s and adds the ```offsetTop``` each.