diff --git a/docs/js/metro.min.js b/docs/js/metro.min.js
index 92bccd841..daea7d000 100644
--- a/docs/js/metro.min.js
+++ b/docs/js/metro.min.js
@@ -107,9 +107,9 @@ b.preventDefault()});b.find(".list").on("click",function(d){b.find(".list").remo
a.options.onNodeClick(e),b.preventDefault(),b.stopPropagation())});b.find("a").each(function(){var a=c(this);a.css({paddingLeft:10*(a.parents("ul").length-1)})});b.find("a").on("click",function(d){var e=c(this),f=e.parent("li");b.find("a").removeClass("active");e.toggleClass("active");a.options.onNodeClick(f);d.preventDefault()})},_destroy:function(){},_setOption:function(a,b){this._super("_setOption",a,b)}})})(jQuery);(function(c){c.widget("metro.fluentmenu",{version:"1.0.0",options:{onSpecialClick:function(a,b){},onTabClick:function(a,b){}},_create:function(){var a=this,b=this.element,d=this.options,e=b.find(".tabs-holder > li > a");this._hidePanels();this._showPanel();e.on("click",function(e){if(c(this).parent("li").hasClass("special"))d.onSpecialClick(e,c(this));else{var g=c(c(this).attr("href"));a._hidePanels();a._showPanel(g);b.find(".tabs-holder > li").removeClass("active");c(this).parent("li").addClass("active");
d.onTabClick(e,c(this))}e.preventDefault()})},_hidePanels:function(){this.element.find(".tab-panel").hide()},_showPanel:function(a){void 0==a&&(a=this.element.find(".tabs-holder li.active a").attr("href"));c(a).show()},_destroy:function(){},_setOption:function(a,b){this._super("_setOption",a,b)}})})(jQuery);(function(c){c.widget("metro.hint",{version:"1.0.0",options:{position:"bottom",background:"#FFFCC0",shadow:!1,border:!1,mode:1,_hint:void 0},_create:function(){var a=this,b=this.options;this.element.on("mouseenter",function(d){c(".hint, .hint2").remove();a.createHint();b._hint.show();d.preventDefault()});this.element.on("mouseleave",function(a){b._hint.hide().remove();a.preventDefault()})},createHint:function(){var a=this.element,b=a.data("hint").split("|"),d=this.options;void 0!=a.data("hintPosition")&&
(d.position=a.data("hintPosition"));void 0!=a.data("hintBackground")&&(d.background=a.data("hintBackground"));void 0!=a.data("hintShadow")&&(d.shadow=a.data("hintShadow"));void 0!=a.data("hintBorder")&&(d.border=a.data("hintBorder"));void 0!=a.data("hintMode")&&(d.mode=a.data("hintMode"));if("TD"==a[0].tagName||"TH"==a[0].tagName){var e=c("
").css("display","inline-block").html(a.html());a.html(e);a=e}var e=1").appendTo("body");2==d.mode?b.addClass("hint2"):
-b.addClass("hint");e&&c("").addClass("hint-title").html(e).appendTo(b);c("").addClass("hint-text").html(f).appendTo(b);b.addClass(d.position);d.shadow&&b.addClass("shadow");d.background&&b.css("background-color",d.background);d.border&&b.css("border-color",d.border);"top"==d.position?b.css({top:a.offset().top-c(window).scrollTop()-b.outerHeight()-20,left:2==d.mode?a.offset().left+a.outerWidth()/2-b.outerWidth()/2:a.offset().left-c(window).scrollLeft()}):"bottom"==d.position?b.css({top:a.offset().top-
-c(window).scrollTop()+a.outerHeight(),left:2==d.mode?a.offset().left+a.outerWidth()/2-b.outerWidth()/2:a.offset().left-c(window).scrollLeft()}):"right"==d.position?b.css({top:2==d.mode?a.offset().top+a.outerHeight()/2-b.outerHeight()/2-c(window).scrollTop()-10:a.offset().top-10-c(window).scrollTop(),left:a.offset().left+a.outerWidth()+15-c(window).scrollLeft()}):"left"==d.position&&b.css({top:2==d.mode?a.offset().top+a.outerHeight()/2-b.outerHeight()/2-c(window).scrollTop()-10:a.offset().top-10-c(window).scrollTop(),
-left:a.offset().left-b.outerWidth()-10-c(window).scrollLeft()});d._hint=b},_destroy:function(){},_setOption:function(a,b){this._super("_setOption",a,b)}})})(jQuery);(function(c){c.widget("metro.streamer",{version:"1.0.0",options:{scrollBar:!1,meter:{start:9,stop:19,interval:20},slideToGroup:1,slideToTime:"10:20",slideSleep:1E3,slideSpeed:1E3,onClick:function(a){},onLongClick:function(a){}},_create:function(){var a=this,b=this.element,d=this.options,e=b.find(".stream"),f=b.find(".event"),g=b.find(".events"),h=b.find(".events-area"),k=b.find(".event-group"),l=b.find(".event-stream");void 0!=b.data("scrollBar")&&(d.scrollBar=b.data("scrollBar"));void 0!=b.data("meterStart")&&
+b.addClass("hint");e&&c("").addClass("hint-title").html(e).appendTo(b);c("").addClass("hint-text").html(f).appendTo(b);b.addClass(d.position);d.shadow&&b.addClass("shadow");d.background&&b.css("background-color",d.background);d.border&&b.css("border-color",d.border);"top"==d.position?b.css({top:a.offset().top-c(window).scrollTop()-b.outerHeight()-20,left:2==d.mode?a.offset().left+a.outerWidth()/2-b.outerWidth()/2-c(window).scrollLeft():a.offset().left-c(window).scrollLeft()}):"bottom"==
+d.position?b.css({top:a.offset().top-c(window).scrollTop()+a.outerHeight(),left:2==d.mode?a.offset().left+a.outerWidth()/2-b.outerWidth()/2-c(window).scrollLeft():a.offset().left-c(window).scrollLeft()}):"right"==d.position?b.css({top:2==d.mode?a.offset().top+a.outerHeight()/2-b.outerHeight()/2-c(window).scrollTop()-10:a.offset().top-10-c(window).scrollTop(),left:a.offset().left+a.outerWidth()+15-c(window).scrollLeft()}):"left"==d.position&&b.css({top:2==d.mode?a.offset().top+a.outerHeight()/2-b.outerHeight()/
+2-c(window).scrollTop()-10:a.offset().top-10-c(window).scrollTop(),left:a.offset().left-b.outerWidth()-10-c(window).scrollLeft()});d._hint=b},_destroy:function(){},_setOption:function(a,b){this._super("_setOption",a,b)}})})(jQuery);(function(c){c.widget("metro.streamer",{version:"1.0.0",options:{scrollBar:!1,meter:{start:9,stop:19,interval:20},slideToGroup:1,slideToTime:"10:20",slideSleep:1E3,slideSpeed:1E3,onClick:function(a){},onLongClick:function(a){}},_create:function(){var a=this,b=this.element,d=this.options,e=b.find(".stream"),f=b.find(".event"),g=b.find(".events"),h=b.find(".events-area"),k=b.find(".event-group"),l=b.find(".event-stream");void 0!=b.data("scrollBar")&&(d.scrollBar=b.data("scrollBar"));void 0!=b.data("meterStart")&&
(d.meter.start=parseInt(b.data("meterStart")));void 0!=b.data("meterStop")&&(d.meter.stop=parseInt(b.data("meterStop")));void 0!=b.data("meterInterval")&&(d.meter.interval=b.data("meterInterval"));void 0!=b.data("slideToGroup")&&(d.slideToGroup=parseInt(b.data("slideToGroup")));void 0!=b.data("slideSleep")&&(d.slideSleep=parseInt(b.data("slideSleep")));void 0!=b.data("slideSpeed")&&(d.slideSpeed=parseInt(b.data("slideSpeed")));b.data("streamSelect",-1);var n=c("").addClass("meter"),p,m,q,u=d.meter.stop,
r=d.meter.interval,s=[];for(p=d.meter.start;pm;m+=r)q=(10>p?"0"+p:p)+":"+(10>m?"0"+m:m),c("").addClass("js-interval-"+q.replace(":","-")).html(""+q+"").appendTo(n),s.push(q);b.data("intervals",s);n.insertBefore(b.find(".events-grid"));b.find(".event-stream").each(function(a,b){var d=0,f=c(b).find(".event");f.each(function(a,b){d+=c(b).outerWidth()});c(b).css({width:d+2*(f.length-1)+1});c(b).find(".time").css("background-color",c(e[a]).css("background-color"))});g.css({"overflow-x":d.scrollBar?
"scroll":"hidden"});b.css({height:b.find(".streams").outerHeight()+(d.scrollBar?20:0)});var t=0;k.each(function(a,b){t+=c(b).outerWidth()});t+=2*(k.length-1)+10;h.css("width",t);f.each(function(a,b){addTouchEvents(b)});f.mousedown(function(a){a.altKey&&c(this).toggleClass("selected")});b.mousewheel(function(a,b){var c=50*b;g.scrollLeft(g.scrollLeft()-c);return!1});e.each(function(a,d){c(d).mousedown(function(d){b.data("streamSelect")==a?(f.removeClass("event-disable"),b.data("streamSelect",-1)):(b.data("streamSelect",
diff --git a/docs/js/metro/metro-hint.js b/docs/js/metro/metro-hint.js
index d4b09457d..9be4f1b8c 100644
--- a/docs/js/metro/metro-hint.js
+++ b/docs/js/metro/metro-hint.js
@@ -81,12 +81,12 @@
if (o.position == 'top') {
_hint.css({
top: element.offset().top - $(window).scrollTop() - _hint.outerHeight() - 20,
- left: o.mode == 2 ? element.offset().left + element.outerWidth()/2 - _hint.outerWidth()/2 : element.offset().left - $(window).scrollLeft()
+ left: o.mode == 2 ? element.offset().left + element.outerWidth()/2 - _hint.outerWidth()/2 - $(window).scrollLeft(): element.offset().left - $(window).scrollLeft()
});
} else if (o.position == 'bottom') {
_hint.css({
top: element.offset().top - $(window).scrollTop() + element.outerHeight(),
- left: o.mode == 2 ? element.offset().left + element.outerWidth()/2 - _hint.outerWidth()/2 : element.offset().left - $(window).scrollLeft()
+ left: o.mode == 2 ? element.offset().left + element.outerWidth()/2 - _hint.outerWidth()/2 - $(window).scrollLeft(): element.offset().left - $(window).scrollLeft()
});
} else if (o.position == 'right') {
_hint.css({
diff --git a/js/metro-hint.js b/js/metro-hint.js
index d4b09457d..9be4f1b8c 100644
--- a/js/metro-hint.js
+++ b/js/metro-hint.js
@@ -81,12 +81,12 @@
if (o.position == 'top') {
_hint.css({
top: element.offset().top - $(window).scrollTop() - _hint.outerHeight() - 20,
- left: o.mode == 2 ? element.offset().left + element.outerWidth()/2 - _hint.outerWidth()/2 : element.offset().left - $(window).scrollLeft()
+ left: o.mode == 2 ? element.offset().left + element.outerWidth()/2 - _hint.outerWidth()/2 - $(window).scrollLeft(): element.offset().left - $(window).scrollLeft()
});
} else if (o.position == 'bottom') {
_hint.css({
top: element.offset().top - $(window).scrollTop() + element.outerHeight(),
- left: o.mode == 2 ? element.offset().left + element.outerWidth()/2 - _hint.outerWidth()/2 : element.offset().left - $(window).scrollLeft()
+ left: o.mode == 2 ? element.offset().left + element.outerWidth()/2 - _hint.outerWidth()/2 - $(window).scrollLeft(): element.offset().left - $(window).scrollLeft()
});
} else if (o.position == 'right') {
_hint.css({
diff --git a/min/metro.min.js b/min/metro.min.js
index 92bccd841..daea7d000 100644
--- a/min/metro.min.js
+++ b/min/metro.min.js
@@ -107,9 +107,9 @@ b.preventDefault()});b.find(".list").on("click",function(d){b.find(".list").remo
a.options.onNodeClick(e),b.preventDefault(),b.stopPropagation())});b.find("a").each(function(){var a=c(this);a.css({paddingLeft:10*(a.parents("ul").length-1)})});b.find("a").on("click",function(d){var e=c(this),f=e.parent("li");b.find("a").removeClass("active");e.toggleClass("active");a.options.onNodeClick(f);d.preventDefault()})},_destroy:function(){},_setOption:function(a,b){this._super("_setOption",a,b)}})})(jQuery);(function(c){c.widget("metro.fluentmenu",{version:"1.0.0",options:{onSpecialClick:function(a,b){},onTabClick:function(a,b){}},_create:function(){var a=this,b=this.element,d=this.options,e=b.find(".tabs-holder > li > a");this._hidePanels();this._showPanel();e.on("click",function(e){if(c(this).parent("li").hasClass("special"))d.onSpecialClick(e,c(this));else{var g=c(c(this).attr("href"));a._hidePanels();a._showPanel(g);b.find(".tabs-holder > li").removeClass("active");c(this).parent("li").addClass("active");
d.onTabClick(e,c(this))}e.preventDefault()})},_hidePanels:function(){this.element.find(".tab-panel").hide()},_showPanel:function(a){void 0==a&&(a=this.element.find(".tabs-holder li.active a").attr("href"));c(a).show()},_destroy:function(){},_setOption:function(a,b){this._super("_setOption",a,b)}})})(jQuery);(function(c){c.widget("metro.hint",{version:"1.0.0",options:{position:"bottom",background:"#FFFCC0",shadow:!1,border:!1,mode:1,_hint:void 0},_create:function(){var a=this,b=this.options;this.element.on("mouseenter",function(d){c(".hint, .hint2").remove();a.createHint();b._hint.show();d.preventDefault()});this.element.on("mouseleave",function(a){b._hint.hide().remove();a.preventDefault()})},createHint:function(){var a=this.element,b=a.data("hint").split("|"),d=this.options;void 0!=a.data("hintPosition")&&
(d.position=a.data("hintPosition"));void 0!=a.data("hintBackground")&&(d.background=a.data("hintBackground"));void 0!=a.data("hintShadow")&&(d.shadow=a.data("hintShadow"));void 0!=a.data("hintBorder")&&(d.border=a.data("hintBorder"));void 0!=a.data("hintMode")&&(d.mode=a.data("hintMode"));if("TD"==a[0].tagName||"TH"==a[0].tagName){var e=c("").css("display","inline-block").html(a.html());a.html(e);a=e}var e=1").appendTo("body");2==d.mode?b.addClass("hint2"):
-b.addClass("hint");e&&c("").addClass("hint-title").html(e).appendTo(b);c("").addClass("hint-text").html(f).appendTo(b);b.addClass(d.position);d.shadow&&b.addClass("shadow");d.background&&b.css("background-color",d.background);d.border&&b.css("border-color",d.border);"top"==d.position?b.css({top:a.offset().top-c(window).scrollTop()-b.outerHeight()-20,left:2==d.mode?a.offset().left+a.outerWidth()/2-b.outerWidth()/2:a.offset().left-c(window).scrollLeft()}):"bottom"==d.position?b.css({top:a.offset().top-
-c(window).scrollTop()+a.outerHeight(),left:2==d.mode?a.offset().left+a.outerWidth()/2-b.outerWidth()/2:a.offset().left-c(window).scrollLeft()}):"right"==d.position?b.css({top:2==d.mode?a.offset().top+a.outerHeight()/2-b.outerHeight()/2-c(window).scrollTop()-10:a.offset().top-10-c(window).scrollTop(),left:a.offset().left+a.outerWidth()+15-c(window).scrollLeft()}):"left"==d.position&&b.css({top:2==d.mode?a.offset().top+a.outerHeight()/2-b.outerHeight()/2-c(window).scrollTop()-10:a.offset().top-10-c(window).scrollTop(),
-left:a.offset().left-b.outerWidth()-10-c(window).scrollLeft()});d._hint=b},_destroy:function(){},_setOption:function(a,b){this._super("_setOption",a,b)}})})(jQuery);(function(c){c.widget("metro.streamer",{version:"1.0.0",options:{scrollBar:!1,meter:{start:9,stop:19,interval:20},slideToGroup:1,slideToTime:"10:20",slideSleep:1E3,slideSpeed:1E3,onClick:function(a){},onLongClick:function(a){}},_create:function(){var a=this,b=this.element,d=this.options,e=b.find(".stream"),f=b.find(".event"),g=b.find(".events"),h=b.find(".events-area"),k=b.find(".event-group"),l=b.find(".event-stream");void 0!=b.data("scrollBar")&&(d.scrollBar=b.data("scrollBar"));void 0!=b.data("meterStart")&&
+b.addClass("hint");e&&c("").addClass("hint-title").html(e).appendTo(b);c("").addClass("hint-text").html(f).appendTo(b);b.addClass(d.position);d.shadow&&b.addClass("shadow");d.background&&b.css("background-color",d.background);d.border&&b.css("border-color",d.border);"top"==d.position?b.css({top:a.offset().top-c(window).scrollTop()-b.outerHeight()-20,left:2==d.mode?a.offset().left+a.outerWidth()/2-b.outerWidth()/2-c(window).scrollLeft():a.offset().left-c(window).scrollLeft()}):"bottom"==
+d.position?b.css({top:a.offset().top-c(window).scrollTop()+a.outerHeight(),left:2==d.mode?a.offset().left+a.outerWidth()/2-b.outerWidth()/2-c(window).scrollLeft():a.offset().left-c(window).scrollLeft()}):"right"==d.position?b.css({top:2==d.mode?a.offset().top+a.outerHeight()/2-b.outerHeight()/2-c(window).scrollTop()-10:a.offset().top-10-c(window).scrollTop(),left:a.offset().left+a.outerWidth()+15-c(window).scrollLeft()}):"left"==d.position&&b.css({top:2==d.mode?a.offset().top+a.outerHeight()/2-b.outerHeight()/
+2-c(window).scrollTop()-10:a.offset().top-10-c(window).scrollTop(),left:a.offset().left-b.outerWidth()-10-c(window).scrollLeft()});d._hint=b},_destroy:function(){},_setOption:function(a,b){this._super("_setOption",a,b)}})})(jQuery);(function(c){c.widget("metro.streamer",{version:"1.0.0",options:{scrollBar:!1,meter:{start:9,stop:19,interval:20},slideToGroup:1,slideToTime:"10:20",slideSleep:1E3,slideSpeed:1E3,onClick:function(a){},onLongClick:function(a){}},_create:function(){var a=this,b=this.element,d=this.options,e=b.find(".stream"),f=b.find(".event"),g=b.find(".events"),h=b.find(".events-area"),k=b.find(".event-group"),l=b.find(".event-stream");void 0!=b.data("scrollBar")&&(d.scrollBar=b.data("scrollBar"));void 0!=b.data("meterStart")&&
(d.meter.start=parseInt(b.data("meterStart")));void 0!=b.data("meterStop")&&(d.meter.stop=parseInt(b.data("meterStop")));void 0!=b.data("meterInterval")&&(d.meter.interval=b.data("meterInterval"));void 0!=b.data("slideToGroup")&&(d.slideToGroup=parseInt(b.data("slideToGroup")));void 0!=b.data("slideSleep")&&(d.slideSleep=parseInt(b.data("slideSleep")));void 0!=b.data("slideSpeed")&&(d.slideSpeed=parseInt(b.data("slideSpeed")));b.data("streamSelect",-1);var n=c("").addClass("meter"),p,m,q,u=d.meter.stop,
r=d.meter.interval,s=[];for(p=d.meter.start;pm;m+=r)q=(10>p?"0"+p:p)+":"+(10>m?"0"+m:m),c("").addClass("js-interval-"+q.replace(":","-")).html(""+q+"").appendTo(n),s.push(q);b.data("intervals",s);n.insertBefore(b.find(".events-grid"));b.find(".event-stream").each(function(a,b){var d=0,f=c(b).find(".event");f.each(function(a,b){d+=c(b).outerWidth()});c(b).css({width:d+2*(f.length-1)+1});c(b).find(".time").css("background-color",c(e[a]).css("background-color"))});g.css({"overflow-x":d.scrollBar?
"scroll":"hidden"});b.css({height:b.find(".streams").outerHeight()+(d.scrollBar?20:0)});var t=0;k.each(function(a,b){t+=c(b).outerWidth()});t+=2*(k.length-1)+10;h.css("width",t);f.each(function(a,b){addTouchEvents(b)});f.mousedown(function(a){a.altKey&&c(this).toggleClass("selected")});b.mousewheel(function(a,b){var c=50*b;g.scrollLeft(g.scrollLeft()-c);return!1});e.each(function(a,d){c(d).mousedown(function(d){b.data("streamSelect")==a?(f.removeClass("event-disable"),b.data("streamSelect",-1)):(b.data("streamSelect",