Minor changes to menu
diff --git a/dev/js/src/menu.js b/dev/js/src/menu.js
index 0e7fc44..2d9aacb 100644
--- a/dev/js/src/menu.js
+++ b/dev/js/src/menu.js
@@ -203,6 +203,7 @@
 
       this._element = e;
       this.active = false;
+      // this.selected = undefined;
       this._items = new Array();
       var i;
 
@@ -292,12 +293,19 @@
       if (this._firstActive)
 	this.liveItem(0).active(true);
 
+      this._position = 0;
+
       this._prefix.active(false);
 
-      this._active = this._list[0];
-      this._position = 0;
       this._element.style.opacity = 1;
 
+      // Iterate to the active item
+      if (this._active !== -1 && !this._prefix.isSet()) {
+	while (this._list[this._position] < this._active) {
+	  this.next();
+	};
+      };
+
       // Add classes for rolling menus
       this._boundary(true);
       return true;