fix IE incorrect tooltip positioning after scroll

Issue #39 recurs in IE11 due to modifications introduced by pull request #52. A partial rollback to commit be99e94 can solve the issue: scroll element needs to be defined as `document.documentElement? document.documentElement : document.body`.