top: (
                pos.top                                                                    // the calculated relative position
                + this.offset.relative.top    * mod                                        // Only for relative positioned nodes: Relative offset from element to offset parent
                + this.offset.parent.top * mod                                            // The offsetParent's offset without borders (offset + border)
                - (this.cssPosition == "fixed" || this.PAGEY_INCLUDES_SCROLL || this.OFFSET_PARENT_NOT_SCROLL_PARENT_Y ? 0 : this.scrollTopParent.scrollTop()) * mod    // The offsetParent's scroll position, not if the element is fixed