Account for parent element offsets in scrollfix.

When an ancestor of the scrollfixed element has position: relative, the value of element.offsetTop is not sufficient to determine the element's position, as it will be the offset from the relatively positioned ancestor instead of the top of the page.

This patch checks the offset of the element's ancestors, as described in http://www.quirksmode.org/js/findpos.html