Adds an offset() method to to get element\'s offset position