updates popup positioning logic relative to offsetParent to accommodate for jQuery’s lack of accommodation for margins set on the body element when it is the offset parent