function getHeadingTopPos(obj) {
        var position = 0
        if (obj !== null) {
            position = obj.offsetTop
            if (options.hasInnerContainers) { position += getHeadingTopPos(obj.offsetParent) }
        }
        return position
    }
Get top position of heading
@param {HTMLElement} obj
@return {int} position