diff --git a/src/position.js b/src/position.js
index <HASH>..<HASH> 100644
--- a/src/position.js
+++ b/src/position.js
@@ -75,9 +75,10 @@ var Position = Class(null, /** @lends Position.prototype */ {
 	 * Position parent nodes of the NOI
 	 */
 	_positionParents: function() {
+		const top = this.noi.parentStack.length - 1;
 		this.noi.parentStack.forEach((node, index) => {
 			node.x = this.noi.x;
-			node.y = index;
+			node.y = top - index;
 		});
 	},
fix: positioning of parent nodes

Before this fix parent nodes were positioned in reverse order, i.e. the
NOI's parent was the top most node, under them was his parent and so on.