FIX: correctly calculate popover position by using document.scrollingElement to calculate popover offset