diff --git a/bower.json b/bower.json
index 6bdbf26..8f45ca8 100644
--- a/bower.json
+++ b/bower.json
@@ -1,6 +1,6 @@
 {
   "name": "multiscroll.js",
-  "version": "0.1.7",
+  "version": "0.1.8",
   "homepage": "http://alvarotrigo.com/multiScroll/",
   "authors": [
     "Alvaro Trigo https://github.com/alvarotrigo"
diff --git a/dist/jquery.multiscroll.css b/dist/jquery.multiscroll.css
index d5ca671..54ecb3d 100644
--- a/dist/jquery.multiscroll.css
+++ b/dist/jquery.multiscroll.css
@@ -1,5 +1,5 @@
 /*!
- * multiscroll.js 0.1.7 Beta
+ * multiscroll.js 0.1.8 Beta
  * https://github.com/alvarotrigo/multiscroll.js
  * @license MIT licensed
  *
diff --git a/dist/jquery.multiscroll.js b/dist/jquery.multiscroll.js
index 371331b..ae5b269 100644
--- a/dist/jquery.multiscroll.js
+++ b/dist/jquery.multiscroll.js
@@ -1,5 +1,5 @@
 /*!
- * multiscroll.js 0.1.7 Beta
+ * multiscroll.js 0.1.8 Beta
  * https://github.com/alvarotrigo/multiscroll.js
  * @license MIT licensed
  *
diff --git a/dist/jquery.multiscroll.min.css b/dist/jquery.multiscroll.min.css
index 35d2aa1..aa000d7 100644
--- a/dist/jquery.multiscroll.min.css
+++ b/dist/jquery.multiscroll.min.css
@@ -1,8 +1,8 @@
 /*!
- * multiscroll.js 0.1.7 Beta
+ * multiscroll.js 0.1.8 Beta
  * https://github.com/alvarotrigo/multiscroll.js
  * @license MIT licensed
  *
  * Copyright (C) 2016 alvarotrigo.com - A project by Alvaro Trigo
- */body,html{margin:0;padding:0;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.ms-section{position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ms-section.ms-table{display:table;width:100%}.ms-tableCell{display:table-cell;vertical-align:middle;width:100%;height:100%}.ms-easing{-webkit-transition:all .7s ease-out;-moz-transition:all .7s ease-out;-o-transition:all .7s ease-out;transition:all .7s ease-out}#multiscroll-nav{position:fixed;z-index:100;margin-top:-32px;top:50%;opacity:1}#multiscroll-nav.right{right:17px}#multiscroll-nav.left{left:17px}#multiscroll-nav ul{margin:0;padding:0}#multiscroll-nav li{display:block;width:14px;height:13px;margin:7px;position:relative}#multiscroll-nav li a{display:block;position:relative;z-index:1;width:100%;height:100%;cursor:pointer;text-decoration:none}#multiscroll-nav li .active span{background:#333}#multiscroll-nav span{top:2px;left:2px;width:8px;height:8px;border:1px solid #000;background:rgba(0,0,0,0);-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;position:absolute;z-index:1}.multiscroll-tooltip{position:absolute;color:#fff;font-size:14px;font-family:arial,helvetica,sans-serif;top:-2px;white-space:nowrap;max-width:220px}.multiscroll-tooltip.right{right:20px}.multiscroll-tooltip.left{left:20px}
-/*# sourceMappingURL=jquery.multiscroll.min.css.map */
+ */body,html{margin:0;padding:0;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.ms-section{position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ms-section.ms-table{display:table;width:100%}.ms-tableCell{display:table-cell;vertical-align:middle;width:100%;height:100%}.ms-easing{-webkit-transition:all .7s ease-out;-moz-transition:all .7s ease-out;-o-transition:all .7s ease-out;transition:all .7s ease-out}#multiscroll-nav{position:fixed;z-index:100;margin-top:-32px;top:50%;opacity:1}#multiscroll-nav.right{right:17px}#multiscroll-nav.left{left:17px}#multiscroll-nav ul{margin:0;padding:0}#multiscroll-nav li{display:block;width:14px;height:13px;margin:7px;position:relative}#multiscroll-nav li a{display:block;position:relative;z-index:1;width:100%;height:100%;cursor:pointer;text-decoration:none}#multiscroll-nav li .active span{background:#333}#multiscroll-nav span{top:2px;left:2px;width:8px;height:8px;border:1px solid #000;background:rgba(0,0,0,0);-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;position:absolute;z-index:1}.multiscroll-tooltip{position:absolute;color:#fff;font-size:14px;font-family:arial,helvetica,sans-serif;top:-2px;white-space:nowrap;max-width:220px}.multiscroll-tooltip.right{right:20px}.multiscroll-tooltip.left{left:20px}
+/*# sourceMappingURL=jquery.multiscroll.min.css.map */
diff --git a/dist/jquery.multiscroll.min.css.map b/dist/jquery.multiscroll.min.css.map
index 77bc1a5..979c85e 100644
--- a/dist/jquery.multiscroll.min.css.map
+++ b/dist/jquery.multiscroll.min.css.map
@@ -1 +1 @@
-{"version":3,"sources":["jquery.multiscroll.css"],"names":[],"mappings":";;;;;;AAOM,KAAN,KACI,OAAQ,EACR,QAAS,EACZ,SAAS,OACT,4BAA6B,cAE9B,YACI,SAAU,SACV,mBAAoB,WACpB,gBAAiB,WACjB,WAAY,WAEhB,qBACI,QAAS,MACT,MAAO,KAEX,cACI,QAAS,WACT,eAAgB,OAChB,MAAO,KACP,OAAQ,KAEZ,WACI,mBAAoB,IAAI,IAAK,SAC7B,gBAAiB,IAAI,IAAK,SAC1B,cAAe,IAAI,IAAK,SACxB,WAAY,IAAI,IAAK,SAEzB,iBACI,SAAU,MACV,QAAS,IACT,WAAY,MACZ,IAAK,IACL,QAAS,EAEb,uBACI,MAAO,KAEX,sBACI,KAAM,KAEV,oBACE,OAAQ,EACR,QAAS,EAEX,oBACI,QAAS,MACT,MAAO,KACP,OAAQ,KACR,OAAQ,IACR,SAAS,SAEb,sBACI,QAAS,MACT,SAAU,SACV,QAAS,EACT,MAAO,KACP,OAAQ,KACR,OAAQ,QACR,gBAAiB,KAErB,iCACI,WAAY,KAEhB,sBACI,IAAK,IACL,KAAM,IACN,MAAO,IACP,OAAQ,IACR,OAAQ,IAAI,MAAM,KAClB,WAAY,cACZ,sBAAuB,IACvB,mBAAoB,IACpB,cAAe,IACf,SAAU,SACV,QAAS,EAEb,qBACI,SAAU,SACV,MAAO,KACP,UAAW,KACX,YAAa,MAAO,UAAW,WAC/B,IAAK,KACL,YAAa,OACb,UAAW,MAEf,2BACI,MAAO,KAEX,0BACI,KAAM","file":"jquery.multiscroll.min.css","sourcesContent":["/*!\r\n * multiscroll.js 0.1.7 Beta\r\n * https://github.com/alvarotrigo/multiscroll.js\r\n * @license MIT licensed\r\n *\r\n * Copyright (C) 2016 alvarotrigo.com - A project by Alvaro Trigo\r\n */\r\nhtml, body {\r\n    margin: 0;\r\n    padding: 0;\r\n\toverflow:hidden;\r\n\t-webkit-tap-highlight-color: rgba(0,0,0,0);\r\n}\r\n.ms-section {\r\n    position: relative;\r\n    -webkit-box-sizing: border-box;\r\n    -moz-box-sizing: border-box;\r\n    box-sizing: border-box;\r\n}\r\n.ms-section.ms-table{\r\n    display: table;\r\n    width: 100%;\r\n}\r\n.ms-tableCell {\r\n    display: table-cell;\r\n    vertical-align: middle;\r\n    width: 100%;\r\n    height: 100%;\r\n}\r\n.ms-easing {\r\n    -webkit-transition: all 0.7s ease-out;\r\n    -moz-transition: all 0.7s ease-out;\r\n    -o-transition: all 0.7s ease-out;\r\n    transition: all 0.7s ease-out;\r\n}\r\n#multiscroll-nav {\r\n    position: fixed;\r\n    z-index: 100;\r\n    margin-top: -32px;\r\n    top: 50%;\r\n    opacity: 1;\r\n}\r\n#multiscroll-nav.right {\r\n    right: 17px;\r\n}\r\n#multiscroll-nav.left {\r\n    left: 17px;\r\n}\r\n#multiscroll-nav ul{\r\n  margin: 0;\r\n  padding: 0;\r\n}\r\n#multiscroll-nav li{\r\n    display: block;\r\n    width: 14px;\r\n    height: 13px;\r\n    margin: 7px;\r\n    position:relative;\r\n}\r\n#multiscroll-nav li a{\r\n    display: block;\r\n    position: relative;\r\n    z-index: 1;\r\n    width: 100%;\r\n    height: 100%;\r\n    cursor: pointer;\r\n    text-decoration: none;\r\n}\r\n#multiscroll-nav li .active span{\r\n    background: #333;\r\n}\r\n#multiscroll-nav span{\r\n    top: 2px;\r\n    left: 2px;\r\n    width: 8px;\r\n    height: 8px;\r\n    border: 1px solid #000;\r\n    background: rgba(0, 0, 0, 0);\r\n    -webkit-border-radius: 50%;\r\n    -moz-border-radius: 50%;\r\n    border-radius: 50%;\r\n    position: absolute;\r\n    z-index: 1;\r\n}\r\n.multiscroll-tooltip {\r\n    position: absolute;\r\n    color: #fff;\r\n    font-size: 14px;\r\n    font-family: arial, helvetica, sans-serif;\r\n    top: -2px;\r\n    white-space: nowrap;\r\n    max-width: 220px;\r\n}\r\n.multiscroll-tooltip.right {\r\n    right: 20px;\r\n}\r\n.multiscroll-tooltip.left {\r\n    left: 20px;\r\n}\r\n"]}
\ No newline at end of file
+{"version":3,"sources":["jquery.multiscroll.css"],"names":[],"mappings":";;;;;;AAOM,KAAN,KACI,OAAQ,EACR,QAAS,EACZ,SAAS,OACT,4BAA6B,cAE9B,YACI,SAAU,SACV,mBAAoB,WACpB,gBAAiB,WACjB,WAAY,WAEhB,qBACI,QAAS,MACT,MAAO,KAEX,cACI,QAAS,WACT,eAAgB,OAChB,MAAO,KACP,OAAQ,KAEZ,WACI,mBAAoB,IAAI,IAAK,SAC7B,gBAAiB,IAAI,IAAK,SAC1B,cAAe,IAAI,IAAK,SACxB,WAAY,IAAI,IAAK,SAEzB,iBACI,SAAU,MACV,QAAS,IACT,WAAY,MACZ,IAAK,IACL,QAAS,EAEb,uBACI,MAAO,KAEX,sBACI,KAAM,KAEV,oBACE,OAAQ,EACR,QAAS,EAEX,oBACI,QAAS,MACT,MAAO,KACP,OAAQ,KACR,OAAQ,IACR,SAAS,SAEb,sBACI,QAAS,MACT,SAAU,SACV,QAAS,EACT,MAAO,KACP,OAAQ,KACR,OAAQ,QACR,gBAAiB,KAErB,iCACI,WAAY,KAEhB,sBACI,IAAK,IACL,KAAM,IACN,MAAO,IACP,OAAQ,IACR,OAAQ,IAAI,MAAM,KAClB,WAAY,cACZ,sBAAuB,IACvB,mBAAoB,IACpB,cAAe,IACf,SAAU,SACV,QAAS,EAEb,qBACI,SAAU,SACV,MAAO,KACP,UAAW,KACX,YAAa,MAAO,UAAW,WAC/B,IAAK,KACL,YAAa,OACb,UAAW,MAEf,2BACI,MAAO,KAEX,0BACI,KAAM","file":"jquery.multiscroll.min.css","sourceRoot":"/source/","sourcesContent":["/*!\r\n * multiscroll.js 0.1.8 Beta\r\n * https://github.com/alvarotrigo/multiscroll.js\r\n * @license MIT licensed\r\n *\r\n * Copyright (C) 2016 alvarotrigo.com - A project by Alvaro Trigo\r\n */\r\nhtml, body {\r\n    margin: 0;\r\n    padding: 0;\r\n\toverflow:hidden;\r\n\t-webkit-tap-highlight-color: rgba(0,0,0,0);\r\n}\r\n.ms-section {\r\n    position: relative;\r\n    -webkit-box-sizing: border-box;\r\n    -moz-box-sizing: border-box;\r\n    box-sizing: border-box;\r\n}\r\n.ms-section.ms-table{\r\n    display: table;\r\n    width: 100%;\r\n}\r\n.ms-tableCell {\r\n    display: table-cell;\r\n    vertical-align: middle;\r\n    width: 100%;\r\n    height: 100%;\r\n}\r\n.ms-easing {\r\n    -webkit-transition: all 0.7s ease-out;\r\n    -moz-transition: all 0.7s ease-out;\r\n    -o-transition: all 0.7s ease-out;\r\n    transition: all 0.7s ease-out;\r\n}\r\n#multiscroll-nav {\r\n    position: fixed;\r\n    z-index: 100;\r\n    margin-top: -32px;\r\n    top: 50%;\r\n    opacity: 1;\r\n}\r\n#multiscroll-nav.right {\r\n    right: 17px;\r\n}\r\n#multiscroll-nav.left {\r\n    left: 17px;\r\n}\r\n#multiscroll-nav ul{\r\n  margin: 0;\r\n  padding: 0;\r\n}\r\n#multiscroll-nav li{\r\n    display: block;\r\n    width: 14px;\r\n    height: 13px;\r\n    margin: 7px;\r\n    position:relative;\r\n}\r\n#multiscroll-nav li a{\r\n    display: block;\r\n    position: relative;\r\n    z-index: 1;\r\n    width: 100%;\r\n    height: 100%;\r\n    cursor: pointer;\r\n    text-decoration: none;\r\n}\r\n#multiscroll-nav li .active span{\r\n    background: #333;\r\n}\r\n#multiscroll-nav span{\r\n    top: 2px;\r\n    left: 2px;\r\n    width: 8px;\r\n    height: 8px;\r\n    border: 1px solid #000;\r\n    background: rgba(0, 0, 0, 0);\r\n    -webkit-border-radius: 50%;\r\n    -moz-border-radius: 50%;\r\n    border-radius: 50%;\r\n    position: absolute;\r\n    z-index: 1;\r\n}\r\n.multiscroll-tooltip {\r\n    position: absolute;\r\n    color: #fff;\r\n    font-size: 14px;\r\n    font-family: arial, helvetica, sans-serif;\r\n    top: -2px;\r\n    white-space: nowrap;\r\n    max-width: 220px;\r\n}\r\n.multiscroll-tooltip.right {\r\n    right: 20px;\r\n}\r\n.multiscroll-tooltip.left {\r\n    left: 20px;\r\n}\r\n"]}
\ No newline at end of file
diff --git a/dist/jquery.multiscroll.min.js b/dist/jquery.multiscroll.min.js
index 83d937d..26b6972 100644
--- a/dist/jquery.multiscroll.min.js
+++ b/dist/jquery.multiscroll.min.js
@@ -1,5 +1,5 @@
 /*!
- * multiscroll.js 0.1.7 Beta
+ * multiscroll.js 0.1.8 Beta
  * https://github.com/alvarotrigo/multiscroll.js
  * @license MIT licensed
  *
diff --git a/dist/jquery.multiscroll.min.js.map b/dist/jquery.multiscroll.min.js.map
index e5656ca..dc7a668 100644
--- a/dist/jquery.multiscroll.min.js.map
+++ b/dist/jquery.multiscroll.min.js.map
@@ -1 +1 @@
-{"version":3,"sources":["jquery.multiscroll.js"],"names":["$","window","document","Math","undefined","fn","multiscroll","options","hashChangeHandler","value","location","hash","replace","sectionAnchor","length","section","find","isFirstScrollMove","lastScrolledDestiny","scrollPage","keydownHandler","e","clearTimeout","keydownId","activeElement","is","keyboardScrolling","keyCode","which","keyControls","inArray","preventDefault","setTimeout","onkeydown","shiftPressed","shiftKey","MS","moveSectionUp","moveSectionDown","moveTo","navClickHandler","index","this","parent","eq","navMouseEnterHandler","tooltip","data","navigationPosition","hide","appendTo","fadeIn","navMouseLeaveHandler","fadeOut","remove","doneResizing","windowHeight","height","each","css","getTableHeight","silentScroll","isFunction","afterResize","call","css3","transformContainer","position","top","leftDestination","leftDestinationIndex","rightDestination","numberSections","anchorLink","activeSection","leavingSection","yMovement","getYmovement","isMoving","topPos","left","right","addClass","siblings","removeClass","setURLHash","onLeave","translate3dLeft","translate3dRight","afterLoad","scrollDelay","scrollingSpeed","animate","easing","activateMenuElement","activateNavDots","removeMouseWheelHandler","addEventListener","removeEventListener","MouseWheelHandler","detachEvent","addMouseWheelHandler","attachEvent","event","delta","max","min","wheelDelta","deltaY","detail","container","translate3d","animated","toggleClass","getTransforms","-webkit-transform","-moz-transform","-ms-transform","transform","name","sectionIndex","navigation","menu","destiny","fromIndex","toIndex","anchors","setBodyClass","text","String","classRe","RegExp","className","support3d","has3d","el","createElement","transforms","webkitTransform","OTransform","msTransform","MozTransform","body","insertBefore","t","style","getComputedStyle","getPropertyValue","removeChild","addTableClass","element","wrapInner","sectionHeight","paddingTop","paddingBottom","paddings","parseInt","scrollToAnchor","touchMoveHandler","originalEvent","isReallyTouch","touchEvents","getEventsPage","touchEndY","touchEndX","abs","touchStartY","touchSensitivity","pointerType","touchStartHandler","touchStartX","addTouchHandler","isTouch","MSPointer","getMSPointer","off","down","on","move","removeTouchHandler","pointer","PointerEvent","events","y","pageY","pageX","touches","x","extend","verticalCentered","sectionsColor","navigationColor","navigationTooltips","loopBottom","loopTop","fixedElements","normalScrollElements","sectionSelector","leftSelector","rightSelector","afterRender","navigator","msMaxTouchPoints","nav","overflow","append","width","-ms-touch-action","touch-action","attr","closest","link","html","get","reverse","promise","done","last","first","keydown","mousedown","button","mouseenter","mouseleave","setMouseWheelScrolling","prev","next","isNaN","setKeyboardScrolling","setScrollingSpeed","destroy","build","jQuery"],"mappings":";;;;;;;CAOA,SAAUA,EAAGC,EAAQC,EAAUC,EAAMC,GAEpCJ,EAAEK,GAAGC,YAAc,SAASC,GA8L3B,QAASC,KACR,GAAIC,GAASR,EAAOS,SAASC,KAAKC,QAAQ,IAAK,IAC3CC,EAAgBJ,CAEpB,IAAGI,EAAcC,OAAO,CACvB,GAAIC,GAAUf,EAAE,YAAYgB,KAAK,iBAAiBH,EAAc,MAE5DI,EAAoD,mBAAxBC,sBAE5BD,GAAqBJ,IAAkBK,sBAC1CC,EAAWJ,IAad,QAASK,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GACxBhM,EAAG4L,wBAAuB,GAC1BrD,IAEA3K,EAAEC,GACAgL,GAAG,aAAczK,GACjByK,GAAG,SAAU1H,GAEfvD,EAAEE,GACA+K,GAAG,aAAc,sBAAuBpI,GACxCoI,GAAG,aAAc,sBAAuB7H,GACxC6H,GAAG,QAAS,qBAAsBzI,MAIpCgM,OAAQvO,OAAQC,SAAUC","file":"jquery.multiscroll.min.js","sourcesContent":["/*!\r\n * multiscroll.js 0.1.7 Beta\r\n * https://github.com/alvarotrigo/multiscroll.js\r\n * @license MIT licensed\r\n *\r\n * Copyright (C) 2016 alvarotrigo.com - A project by Alvaro Trigo\r\n */\r\n(function($, window, document, Math, undefined) {\r\n\r\n\t$.fn.multiscroll = function(options) {\r\n\t\tvar MS = $.fn.multiscroll;\r\n\r\n\t\t// Create some defaults, extending them with any options that were provided\r\n\t\toptions = $.extend({\r\n\t\t\t'verticalCentered' : true,\r\n\t\t\t'scrollingSpeed': 700,\r\n\t\t\t'easing': 'easeInQuart',\r\n\t\t\t'menu': false,\r\n\t\t\t'sectionsColor': [],\r\n\t\t\t'anchors':[],\r\n\t\t\t'navigation': false,\r\n\t\t\t'navigationPosition': 'right',\r\n\t\t\t'navigationColor': '#000',\r\n\t\t\t'navigationTooltips': [],\r\n\t\t\t'loopBottom': false,\r\n\t\t\t'loopTop': false,\r\n\t\t\t'css3': false,\r\n\t\t\t'paddingTop': 0,\r\n\t\t\t'paddingBottom': 0,\r\n\t\t\t'fixedElements': null,\r\n\t\t\t'normalScrollElements': null,\r\n\t\t\t'keyboardScrolling': true,\r\n\t\t\t'touchSensitivity': 5,\r\n\r\n\t\t\t// Custom selectors\r\n\t\t\t'sectionSelector': '.ms-section',\r\n\t\t\t'leftSelector': '.ms-left',\r\n\t\t\t'rightSelector': '.ms-right',\r\n\r\n\t\t\t//events\r\n\t\t\t'afterLoad': null,\r\n\t\t\t'onLeave': null,\r\n\t\t\t'afterRender': null,\r\n\t\t\t'afterResize': null\r\n\t\t}, options);\r\n\r\n\t\t//Defines the delay to take place before being able to scroll to the next section\r\n\t\t//BE CAREFUL! Not recommened to change it under 400 for a good behavior in laptops and\r\n\t\t//Apple devices (laptops, mouses...)\r\n\t\tvar scrollDelay = 600;\r\n\r\n\t\tvar isTouch = (('ontouchstart' in window) || (navigator.msMaxTouchPoints > 0) || (navigator.maxTouchPoints));\r\n\r\n\t\t// adding class namef for right and left blocks\r\n\t\tif (options.rightSelector !== '.ms-right') {\r\n\t\t\t$(options.rightSelector).addClass('ms-right');\r\n\t\t}\r\n\r\n\t\tif (options.leftSelector !== '.ms-left') {\r\n\t\t\t$(options.leftSelector).addClass('ms-left');\r\n\t\t}\r\n\r\n\t\tvar numberSections = $('.ms-left').find('.ms-section').length;\r\n\t\tvar isMoving = false;\r\n\t\tvar nav;\r\n\t\tvar windowHeight = $(window).height();\r\n\r\n\r\n\t\taddMouseWheelHandler();\r\n\t\taddTouchHandler();\r\n\r\n\t\t//if css3 is not supported, it will use jQuery animations\r\n\t\tif(options.css3){\r\n\t\t\toptions.css3 = support3d();\r\n\t\t}\r\n\r\n\t\t$('html, body').css({\r\n\t\t\t'overflow' : 'hidden',\r\n\t\t\t'height' : '100%'\r\n\t\t});\r\n\r\n\t\t//adding class names to each sections\r\n\t\tif (options.sectionSelector !== '.ms-section') {\r\n\t\t\t$(options.sectionSelector).each(function(){\r\n\t\t\t\t$(this).addClass('ms-section');\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\t//creating the navigation dots\r\n\t\tif (options.navigation) {\r\n\t\t\t$('body').append('<div id=\"multiscroll-nav\"><ul></ul></div>');\r\n\t\t\tnav = $('#multiscroll-nav');\r\n\r\n\t\t\tnav.css('color', options.navigationColor);\r\n\t\t\tnav.addClass(options.navigationPosition);\r\n\t\t}\r\n\r\n\t\t$('.ms-right, .ms-left').css({\r\n\t\t\t'width': '50%',\r\n\t\t\t'position': 'absolute',\r\n\t\t\t'height': '100%',\r\n\t\t\t'-ms-touch-action': 'none'\r\n\t\t});\r\n\r\n\t\t$('.ms-right').css({\r\n\t\t\t'right': '1px', //http://stackoverflow.com/questions/23675457/chrome-and-opera-creating-small-padding-when-using-displaytable\r\n\t\t\t'top': '0',\r\n\t\t\t'-ms-touch-action': 'none',\r\n\t\t\t'touch-action': 'none'\r\n\t\t});\r\n\r\n\t\t$('.ms-left').css({\r\n\t\t\t'left': '0',\r\n\t\t\t'top': '0',\r\n\t\t\t'-ms-touch-action': 'none',\r\n\t\t\t'touch-action': 'none'\r\n\t\t});\r\n\r\n\r\n\t\t$('.ms-left .ms-section, .ms-right .ms-section').each(function(){\r\n\t\t\tvar sectionIndex = $(this).index();\r\n\r\n\t\t\tif(options.paddingTop || options.paddingBottom){\r\n\t\t\t\t$(this).css('padding', options.paddingTop  + ' 0 ' + options.paddingBottom + ' 0');\r\n\t\t\t}\r\n\r\n\t\t\tif (typeof options.sectionsColor[sectionIndex] !==  'undefined') {\r\n\t\t\t\t$(this).css('background-color', options.sectionsColor[sectionIndex]);\r\n\t\t\t}\r\n\r\n\t\t\tif (typeof options.anchors[sectionIndex] !== 'undefined') {\r\n\t\t\t\t$(this).attr('data-anchor', options.anchors[sectionIndex]);\r\n\t\t\t}\r\n\r\n\t\t\tif(options.verticalCentered){\r\n\t\t\t\taddTableClass($(this));\r\n\t\t\t}\r\n\r\n\t\t\t//only for the left panel\r\n\t\t\tif($(this).closest('.ms-left').length && options.navigation) {\r\n\t\t\t\tvar link = '';\r\n\t\t\t\tif(options.anchors.length){\r\n\t\t\t\t\tlink = options.anchors[sectionIndex];\r\n\t\t\t\t}\r\n\t\t\t\tvar tooltip = options.navigationTooltips[sectionIndex];\r\n\t\t\t\tif(typeof tooltip === 'undefined'){\r\n\t\t\t\t\ttooltip = '';\r\n\t\t\t\t}\r\n\t\t\t\tif (options.navigation) {\r\n\t\t\t\t\tnav.find('ul').append('<li data-tooltip=\"' + tooltip + '\"><a href=\"#' + link + '\"><span></span></a></li>');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t//inverting the right panel\r\n\t\t$('.ms-right').html( $('.ms-right').find('.ms-section').get().reverse());\r\n\r\n\t\t$('.ms-left .ms-section, .ms-right .ms-section').each(function(){\r\n\t\t\tvar sectionIndex = $(this).index();\r\n\r\n\t\t\t$(this).css({\r\n\t\t\t\t'height': '100%'\r\n\t\t\t});\r\n\r\n\r\n\t\t\tif(!sectionIndex && options.navigation ){\r\n\t\t\t\t//activating the navigation bullet\r\n\t\t\t\tnav.find('li').eq(sectionIndex).find('a').addClass('active');\r\n\t\t\t}\r\n\t\t}).promise().done(function(){\r\n\r\n\t\t\t//if no active section is defined, the 1st one will be the default one\r\n\t\t\tif(!$('.ms-left .ms-section.active').length){\r\n\t\t\t\t$('.ms-right').find('.ms-section').last().addClass('active');\r\n\t\t\t\t$('.ms-left').find('.ms-section').first().addClass('active');\r\n\t\t\t}\r\n\r\n\t\t\t//vertical centered of the navigation + first bullet active\r\n\t\t\tif(options.navigation){\r\n\t\t\t\tnav.css('margin-top', '-' + (nav.height()/2) + 'px');\r\n\t\t\t}\r\n\t\t\t$.isFunction( options.afterRender ) && options.afterRender.call( this);\r\n\r\n\t\t\t//scrolling to the defined active section and adjusting right and left panels\r\n\t\t\tsilentScroll();\r\n\r\n\t\t\t//setting the class for the body element\r\n\t\t\tsetBodyClass();\r\n\r\n\t\t\t$(window).on('load', function() {\r\n\t\t\t\tscrollToAnchor();\r\n\t\t\t});\r\n\t\t});\r\n\r\n\r\n\t\t//detecting any change on the URL to scroll to the given anchor link\r\n\t\t//(a way to detect back history button as we play with the hashes on the URL)\r\n\t\t$(window).on('hashchange', hashChangeHandler);\r\n\r\n\t\tfunction hashChangeHandler(){\r\n\t\t\tvar value =  window.location.hash.replace('#', '');\r\n\t\t\tvar sectionAnchor = value;\r\n\r\n\t\t\tif(sectionAnchor.length){\r\n\t\t\t\tvar section = $('.ms-left').find('[data-anchor=\"'+sectionAnchor+'\"]');\r\n\r\n\t\t\t\tvar isFirstScrollMove = (typeof lastScrolledDestiny === 'undefined' );\r\n\r\n\t\t\t\tif (isFirstScrollMove || sectionAnchor !== lastScrolledDestiny){\r\n\t\t\t\t\tscrollPage(section);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t};\r\n\r\n\r\n\t\t/**\r\n\t\t* Sliding with arrow keys, both, vertical and horizontal\r\n\t\t*/\r\n\t\t$(document).keydown(keydownHandler);\r\n\r\n\r\n\t\tvar keydownId;\r\n\t\tfunction keydownHandler(e) {\r\n\t\t\tclearTimeout(keydownId);\r\n\r\n\t\t\tvar activeElement = $(document.activeElement);\r\n\r\n\t\t\tif(!activeElement.is('textarea') && !activeElement.is('input') && !activeElement.is('select') &&\r\n\t\t\t\toptions.keyboardScrolling){\r\n\t\t\t\tvar keyCode = e.which;\r\n\r\n\t\t\t\t//preventing the scroll with arrow keys & spacebar & Page Up & Down keys\r\n\t\t\t\tvar keyControls = [40, 38, 32, 33, 34];\r\n\t\t\t\tif($.inArray(keyCode, keyControls) > -1){\r\n\t\t\t\t\te.preventDefault();\r\n\t\t\t\t}\r\n\r\n\t\t\t\tkeydownId = setTimeout(function(){\r\n\t\t\t\t\tonkeydown(e);\r\n\t\t\t\t},150);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t * Sliding with arrow keys, both, vertical and horizontal\r\n\t\t */\r\n\t\tfunction onkeydown(e){\r\n\t\t\tvar shiftPressed = e.shiftKey;\r\n\r\n\t\t\tswitch (e.which) {\r\n\t\t\t\t//up\r\n\t\t\t\tcase 38:\r\n\t\t\t\tcase 33:\r\n\t\t\t\t\tMS.moveSectionUp();\r\n\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t//down\r\n\t\t\t\tcase 32: //spacebar\r\n\t\t\t\t\tif(shiftPressed){\r\n\t\t\t\t\t\tMS.moveSectionUp();\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\tcase 40:\r\n\t\t\t\tcase 34:\r\n\t\t\t\t\tMS.moveSectionDown();\r\n\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t//Home\r\n\t\t\t\tcase 36:\r\n\t\t\t\t\tMS.moveTo(1);\r\n\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t//End\r\n\t\t\t\tcase 35:\r\n\t\t\t\t\tMS.moveTo( $('.ms-left .ms-section').length);\r\n\t\t\t\t\tbreak;\r\n\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn; // exit this handler for other keys\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t * Disabling any action when pressing of the mouse wheel (Chrome, IE, Opera, Safari)\r\n\t\t */\r\n\t\t$(document).mousedown(function(e) {\r\n\t\t\tif(e.button == 1){\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tfunction navClickHandler(e) {\r\n\t\t\te.preventDefault();\r\n\t\t\tvar index = $(this).parent().index();\r\n\t\t\tscrollPage($('.ms-left .ms-section').eq(index));\r\n\t\t}\r\n\r\n\t\t//navigation action\r\n\t\t$(document).on('click', '#multiscroll-nav a', navClickHandler);\r\n\r\n\t\tfunction navMouseEnterHandler() {\r\n\t\t\tvar tooltip = $(this).data('tooltip');\r\n\t\t\t$('<div class=\"multiscroll-tooltip ' + options.navigationPosition +'\">' + tooltip + '</div>').hide().appendTo($(this)).fadeIn(200);\r\n\t\t}\r\n\r\n\t\tfunction navMouseLeaveHandler() {\r\n\t\t\t$(this).find('.multiscroll-tooltip').fadeOut(200, function() {\r\n\t\t\t\t$(this).remove();\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\t//navigation tooltips\r\n\t\t$(document).on({\r\n\t\t\tmouseenter: navMouseEnterHandler,\r\n\t\t\tmouseleave: navMouseLeaveHandler\r\n\t\t}, '#multiscroll-nav li');\r\n\r\n\r\n\t\tif(options.normalScrollElements){\r\n\t\t\t$(document).on('mouseenter', options.normalScrollElements, function () {\r\n\t\t\t\tMS.setMouseWheelScrolling(false);\r\n\t\t\t});\r\n\r\n\t\t\t$(document).on('mouseleave', options.normalScrollElements, function(){\r\n\t\t\t\tMS.setMouseWheelScrolling(true);\r\n\t\t\t});\r\n\t\t}\r\n\r\n\r\n\t\t//when resizing the site, we adjust the heights of the sections\r\n\t\t$(window).on('resize', doneResizing);\r\n\r\n\t\t/**\r\n\t\t * When resizing is finished, we adjust the slides sizes and positions\r\n\t\t */\r\n\t\tfunction doneResizing() {\r\n\t\t\twindowHeight = $(window).height();\r\n\t\t\t$('.ms-tableCell').each(function() {\r\n\t\t\t\t$(this).css({ height: getTableHeight($(this).parent()) });\r\n\t\t\t});\r\n\t\t\tsilentScroll();\r\n\t\t\t$.isFunction( options.afterResize ) && options.afterResize.call( this);\r\n\t\t}\r\n\r\n\t\tfunction silentScroll(){\r\n\t\t\t//moving the right section to the bottom\r\n\t\t\tif(options.css3){\r\n\t\t\t\ttransformContainer($('.ms-left'), 'translate3d(0px, -' + $('.ms-left').find('.ms-section.active').position().top + 'px, 0px)', false);\r\n\t\t\t\ttransformContainer($('.ms-right'), 'translate3d(0px, -' + $('.ms-right').find('.ms-section.active').position().top + 'px, 0px)', false);\r\n\t\t\t}else{\r\n\t\t\t\t$('.ms-left').css('top', -$('.ms-left').find('.ms-section.active').position().top );\r\n\t\t\t\t$('.ms-right').css('top', -$('.ms-right').find('.ms-section.active').position().top );\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tMS.moveSectionUp = function(){\r\n\t\t\tvar prev = $('.ms-left .ms-section.active').prev('.ms-section');\r\n\r\n\t\t\tif(!prev.length && options.loopTop){\r\n\t\t\t\tprev = $('.ms-left .ms-section').last();\r\n\t\t\t}\r\n\r\n\t\t\tif (prev.length) {\r\n\t\t\t\tscrollPage(prev);\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\tMS.moveSectionDown = function (){\r\n\t\t\tvar next = $('.ms-left .ms-section.active').next('.ms-section');\r\n\r\n\t\t\tif(!next.length && options.loopBottom ){\r\n\t\t\t\tnext = $('.ms-left .ms-section').first();\r\n\t\t\t}\r\n\r\n\t\t\tif(next.length){\r\n\t\t\t\tscrollPage(next);\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\tMS.moveTo = function (section){\r\n\t\t\tvar destiny = '';\r\n\r\n\t\t\tif(isNaN(section)){\r\n\t\t\t\tdestiny = $('.ms-left [data-anchor=\"'+section+'\"]');\r\n\t\t\t}else{\r\n\t\t\t\tdestiny = $('.ms-left .ms-section').eq( (section -1) );\r\n\t\t\t}\r\n\r\n\t\t\tscrollPage(destiny);\r\n\t\t};\r\n\r\n\t\tfunction scrollPage(leftDestination){\r\n\t\t\tvar leftDestinationIndex = leftDestination.index();\r\n\t\t\tvar rightDestination = $('.ms-right').find('.ms-section').eq( numberSections -1 - leftDestinationIndex);\r\n\t\t\tvar rightDestinationIndex = numberSections - 1 - leftDestinationIndex;\r\n\t\t\tvar anchorLink  = leftDestination.data('anchor');\r\n\t\t\tvar activeSection = $('.ms-left .ms-section.active');\r\n\t\t\tvar leavingSection = activeSection.index() + 1;\r\n\t\t\tvar yMovement = getYmovement(leftDestination);\r\n\r\n\t\t\t//preventing from activating the MouseWheelHandler event\r\n\t\t\t//more than once if the page is scrolling\r\n\t\t\tisMoving = true;\r\n\r\n\t\t\tvar topPos = {\r\n\t\t\t\t'left' : leftDestination.position().top,\r\n\t\t\t\t'right': rightDestination.position().top\r\n\t\t\t};\r\n\r\n\t\t\trightDestination.addClass('active').siblings().removeClass('active');\r\n\t\t\tleftDestination.addClass('active').siblings().removeClass('active');\r\n\r\n\t\t\tsetURLHash(anchorLink);\r\n\r\n\t\t\t// Use CSS3 translate functionality or...\r\n\t\t\tif (options.css3){\r\n\t\t\t\t//callback (onLeave)\r\n\t\t\t\t$.isFunction(options.onLeave) && options.onLeave.call(this, leavingSection, (leftDestinationIndex + 1), yMovement);\r\n\r\n\t\t\t\tvar translate3dLeft = 'translate3d(0px, -' + topPos['left'] + 'px, 0px)';\r\n\t\t\t\tvar translate3dRight = 'translate3d(0px, -' + topPos['right'] + 'px, 0px)';\r\n\r\n\t\t\t\ttransformContainer($('.ms-left'), translate3dLeft, true);\r\n\t\t\t\ttransformContainer($('.ms-right'), translate3dRight, true);\r\n\r\n\t\t\t\tsetTimeout(function () {\r\n\t\t\t\t\t//callback (afterLoad)\r\n\t\t\t\t\t$.isFunction(options.afterLoad) && options.afterLoad.call(this, anchorLink, (leftDestinationIndex + 1));\r\n\r\n\t\t\t\t\tsetTimeout(function () {\r\n\t\t\t\t\t\tisMoving = false;\r\n\t\t\t\t\t}, scrollDelay);\r\n\t\t\t\t}, options.scrollingSpeed);\r\n\t\t\t}else{\r\n\t\t\t\t//callback (onLeave)\r\n\t\t\t\t$.isFunction(options.onLeave) && options.onLeave.call(this, leavingSection, (leftDestinationIndex + 1), yMovement);\r\n\r\n\t\t\t\t$('.ms-left').animate({\r\n\t\t\t\t\t'top': -topPos['left']\r\n\t\t\t\t}, options.scrollingSpeed, options.easing, function(){\r\n\t\t\t\t\t$.isFunction(options.afterLoad) && options.afterLoad.call(this, anchorLink, (leftDestinationIndex + 1));\r\n\r\n\t\t\t\t\tsetTimeout(function () {\r\n\t\t\t\t\t\tisMoving = false;\r\n\t\t\t\t\t}, scrollDelay);\r\n\t\t\t\t});\r\n\r\n\t\t\t\t$('.ms-right').animate({\r\n\t\t\t\t\t'top': -topPos['right']\r\n\t\t\t\t}, options.scrollingSpeed, options.easing);\r\n\t\t\t}\r\n\r\n\t\t\t//flag to avoid callingn `scrollPage()` twice in case of using anchor links\r\n\t\t\tlastScrolledDestiny = anchorLink;\r\n\r\n\t\t\tactivateMenuElement(anchorLink);\r\n\t\t\tactivateNavDots(anchorLink, leftDestinationIndex);\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Removes the auto scrolling action fired by the mouse wheel and tackpad.\r\n\t\t* After this function is called, the mousewheel and trackpad movements won't scroll through sections.\r\n\t\t*/\r\n\t\tfunction removeMouseWheelHandler(){\r\n\t\t\tif (document.addEventListener) {\r\n\t\t\t\tdocument.removeEventListener('mousewheel', MouseWheelHandler, false); //IE9, Chrome, Safari, Oper\r\n\t\t\t\tdocument.removeEventListener('wheel', MouseWheelHandler, false); //Firefox\r\n\t\t\t} else {\r\n\t\t\t\tdocument.detachEvent(\"onmousewheel\", MouseWheelHandler); //IE 6/7/8\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Adds the auto scrolling action for the mouse wheel and tackpad.\r\n\t\t* After this function is called, the mousewheel and trackpad movements will scroll through sections\r\n\t\t*/\r\n\t\tfunction addMouseWheelHandler(){\r\n\t\t\tif (document.addEventListener) {\r\n\t\t\t\tdocument.addEventListener(\"mousewheel\", MouseWheelHandler, false); //IE9, Chrome, Safari, Oper\r\n\t\t\t\tdocument.addEventListener(\"wheel\", MouseWheelHandler, false); //Firefox\r\n\t\t\t} else {\r\n\t\t\t\tdocument.attachEvent(\"onmousewheel\", MouseWheelHandler); //IE 6/7/8\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t * Detecting mousewheel scrolling\r\n\t\t *\r\n\t\t * http://blogs.sitepointstatic.com/examples/tech/mouse-wheel/index.html\r\n\t\t * http://www.sitepoint.com/html5-javascript-mouse-wheel/\r\n\t\t */\r\n\t\tfunction MouseWheelHandler(e) {\r\n\t\t\t// cross-browser wheel delta\r\n\t\t\te = window.event || e;\r\n\t\t\tvar delta = Math.max(-1, Math.min(1,\r\n\t\t\t\t\t(e.wheelDelta || -e.deltaY || -e.detail)));\r\n\r\n\t\t\tif (!isMoving) { //if theres any #\r\n\r\n\t\t\t\t//scrolling down?\r\n\t\t\t\tif (delta < 0) {\r\n\t\t\t\t\tMS.moveSectionDown();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t//scrolling up?\r\n\t\t\t\telse {\r\n\t\t\t\t\tMS.moveSectionUp();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Adds a css3 transform property to the container class with or without animation depending on the animated param.\r\n\t\t*/\r\n\t\tfunction transformContainer(container, translate3d, animated){\r\n\t\t\tcontainer.toggleClass('ms-easing', animated);\r\n\r\n\t\t\tcontainer.css(getTransforms(translate3d));\r\n\t\t}\r\n\r\n\r\n\t\t/**\r\n\t\t* Returns the transform styles for all browsers\r\n\t\t*/\r\n\t\tfunction getTransforms(translate3d){\r\n\t\t\treturn {\r\n\t\t\t\t'-webkit-transform': translate3d,\r\n\t\t\t\t'-moz-transform': translate3d,\r\n\t\t\t\t'-ms-transform':translate3d,\r\n\t\t\t\t'transform': translate3d\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t * Activating the website navigation dots according to the given slide name.\r\n\t\t */\r\n\t\tfunction activateNavDots(name, sectionIndex){\r\n\t\t\tif(options.navigation){\r\n\t\t\t\t$('#multiscroll-nav').find('.active').removeClass('active');\r\n\t\t\t\tif(name){\r\n\t\t\t\t\t$('#multiscroll-nav').find('a[href=\"#' + name + '\"]').addClass('active');\r\n\t\t\t\t}else{\r\n\t\t\t\t\t$('#multiscroll-nav').find('li').eq(sectionIndex).find('a').addClass('active');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t * Activating the website main menu elements according to the given slide name.\r\n\t\t */\r\n\t\tfunction activateMenuElement(name){\r\n\t\t\tif(options.menu){\r\n\t\t\t\t$(options.menu).find('.active').removeClass('active');\r\n\t\t\t\t$(options.menu).find('[data-menuanchor=\"'+name+'\"]').addClass('active');\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Retuns `up` or `down` depending on the scrolling movement to reach its destination\r\n\t\t* from the current section.\r\n\t\t*/\r\n\t\tfunction getYmovement(destiny){\r\n\t\t\tvar fromIndex = $('.ms-left .ms-section.active').index();\r\n\t\t\tvar toIndex = destiny.index();\r\n\r\n\t\t\tif(fromIndex > toIndex){\r\n\t\t\t\treturn 'up';\r\n\t\t\t}\r\n\t\t\treturn 'down';\r\n\t\t}\r\n\r\n\r\n\t\t/**\r\n\t\t* Sets the URL hash for a section with slides\r\n\t\t*/\r\n\t\tfunction setURLHash(anchorLink){\r\n\t\t\tif(options.anchors.length){\r\n\t\t\t\tlocation.hash = anchorLink;\r\n\t\t\t}\r\n\r\n\t\t\tsetBodyClass();\r\n\t\t}\r\n\r\n\t\t /**\r\n\t\t* Sets a class for the body of the page depending on the active section / slide\r\n\t\t*/\r\n\t\tfunction setBodyClass(){\r\n\t\t\tvar section = $('.ms-left .ms-section.active');\r\n\t\t\tvar sectionAnchor = section.data('anchor');\r\n\t\t\tvar sectionIndex = section.index();\r\n\r\n\t\t\tvar text = String(sectionIndex);\r\n\r\n\t\t\tif(options.anchors.length){\r\n\t\t\t\ttext = sectionAnchor;\r\n\t\t\t}\r\n\r\n\t\t\t//changing slash for dash to make it a valid CSS style\r\n\t\t\ttext = text.replace('/', '-').replace('#','');\r\n\r\n\t\t\t//removing previous anchor classes\r\n\t\t\tvar classRe = new RegExp('\\\\b\\\\s?' + 'ms-viewing' + '-[^\\\\s]+\\\\b', \"g\");\r\n\t\t\t$('body')[0].className = $('body')[0].className.replace(classRe, '');\r\n\r\n\t\t\t//adding the current anchor\r\n\t\t\t$('body').addClass('ms-viewing-' + text);\r\n\t\t}\r\n\r\n\r\n\t\t/**\r\n\t\t* Checks for translate3d support\r\n\t\t* @return boolean\r\n\t\t* http://stackoverflow.com/questions/5661671/detecting-transform-translate3d-support\r\n\t\t*/\r\n\t\tfunction support3d() {\r\n\t\t\tvar el = document.createElement('p'),\r\n\t\t\t\thas3d,\r\n\t\t\t\ttransforms = {\r\n\t\t\t\t\t'webkitTransform':'-webkit-transform',\r\n\t\t\t\t\t'OTransform':'-o-transform',\r\n\t\t\t\t\t'msTransform':'-ms-transform',\r\n\t\t\t\t\t'MozTransform':'-moz-transform',\r\n\t\t\t\t\t'transform':'transform'\r\n\t\t\t\t};\r\n\r\n\t\t\t// Add it to the body to get the computed style.\r\n\t\t\tdocument.body.insertBefore(el, null);\r\n\r\n\t\t\tfor (var t in transforms) {\r\n\t\t\t\tif (el.style[t] !== undefined) {\r\n\t\t\t\t\tel.style[t] = \"translate3d(1px,1px,1px)\";\r\n\t\t\t\t\thas3d = window.getComputedStyle(el).getPropertyValue(transforms[t]);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tdocument.body.removeChild(el);\r\n\r\n\t\t\treturn (has3d !== undefined && has3d.length > 0 && has3d !== \"none\");\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Wraps an element in order to center it vertically by using a class style.\r\n\t\t*/\r\n\t\tfunction addTableClass(element){\r\n\t\t\telement.addClass('ms-table').wrapInner('<div class=\"ms-tableCell\" style=\"height: ' + getTableHeight(element) + 'px\" />');\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Gets the height of the section after removing the paddings.\r\n\t\t*/\r\n\t\tfunction getTableHeight(section){\r\n\t\t\tvar sectionHeight = windowHeight;\r\n\r\n\t\t\tif(options.paddingTop || options.paddingBottom){\r\n\t\t\t\tvar paddings = parseInt(section.css('padding-top')) + parseInt(section.css('padding-bottom'));\r\n\t\t\t\tsectionHeight = (windowHeight - paddings);\r\n\t\t\t}\r\n\r\n\t\t\treturn sectionHeight;\r\n\t\t}\r\n\r\n\r\n\t\t/**\r\n\t\t* Scrolls the page to the existent anchor in the URL\r\n\t\t*/\r\n\t\tfunction scrollToAnchor(){\r\n\t\t\t//getting the anchor link in the URL and deleting the `#`\r\n\t\t\tvar sectionAnchor =  window.location.hash.replace('#', '');\r\n\t\t\tvar section = $('.ms-left .ms-section[data-anchor=\"'+sectionAnchor+'\"]');\r\n\r\n\t\t\tif(sectionAnchor.length){  //if theres any #\r\n\t\t\t\tscrollPage(section);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Adds or remove the possiblity of scrolling through sections by using the keyboard arrow keys\r\n\t\t*/\r\n\t\tMS.setKeyboardScrolling = function (value){\r\n\t\t\toptions.keyboardScrolling = value;\r\n\t\t};\r\n\r\n\t\t/**\r\n\t\t* Adds or remove the possiblity of scrolling through sections by using the mouse wheel or the trackpad.\r\n\t\t*/\r\n\t\tMS.setMouseWheelScrolling = function (value){\r\n\t\t\tif(value){\r\n\t\t\t\taddMouseWheelHandler();\r\n\t\t\t}else{\r\n\t\t\t\tremoveMouseWheelHandler();\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\t/**\r\n\t\t* Defines the scrolling speed\r\n\t\t*/\r\n\t\tMS.setScrollingSpeed = function(value){\r\n\t\t\toptions.scrollingSpeed = value;\r\n\t\t};\r\n\r\n\r\n\r\n\t\tvar touchStartY = 0;\r\n\t\tvar touchStartX = 0;\r\n\t\tvar touchEndY = 0;\r\n\t\tvar touchEndX = 0;\r\n\r\n\t\t/* Detecting touch events\r\n\r\n\t\t* As we are changing the top property of the page on scrolling, we can not use the traditional way to detect it.\r\n\t\t* This way, the touchstart and the touch moves shows an small difference between them which is the\r\n\t\t* used one to determine the direction.\r\n\t\t*/\r\n\t\tfunction touchMoveHandler(event){\r\n\t\t\tvar e = event.originalEvent;\r\n\r\n\t\t\tif(isReallyTouch(e)){\r\n\t\t\t\t//preventing the easing on iOS devices\r\n\t\t\t\tevent.preventDefault();\r\n\r\n\t\t\t\tvar activeSection = $('.ms-left .ms-section.active');\r\n\r\n\t\t\t\tif (!isMoving) { //if theres any #\r\n\t\t\t\t\tvar touchEvents = getEventsPage(e);\r\n\t\t\t\t\ttouchEndY = touchEvents['y'];\r\n\t\t\t\t\ttouchEndX = touchEvents['x'];\r\n\r\n\r\n\t\t\t\t\t//is the movement greater than the minimum resistance to scroll?\r\n\t\t\t\t\tif (Math.abs(touchStartY - touchEndY) > ($(window).height() / 100 * options.touchSensitivity)) {\r\n\r\n\t\t\t\t\t\tif (touchStartY > touchEndY) {\r\n\t\t\t\t\t\t\tMS.moveSectionDown();\r\n\r\n\t\t\t\t\t\t} else if (touchEndY > touchStartY) {\r\n\t\t\t\t\t\t\tMS.moveSectionUp();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* As IE >= 10 fires both touch and mouse events when using a mouse in a touchscreen\r\n\t\t* this way we make sure that is really a touch event what IE is detecting.\r\n\t\t*/\r\n\t\tfunction isReallyTouch(e){\r\n\t\t\t//if is not IE   ||  IE is detecting `touch` or `pen`\r\n\t\t\treturn typeof e.pointerType === 'undefined' || e.pointerType != 'mouse';\r\n\t\t}\r\n\r\n\r\n\t\t/**\r\n\t\t* Handler to get he coordinates of the starting touch\r\n\t\t*/\r\n\t\tfunction touchStartHandler(event){\r\n\t\t\tvar e = event.originalEvent;\r\n\r\n\t\t\tif(isReallyTouch(e)){\r\n\t\t\t\tvar touchEvents = getEventsPage(e);\r\n\t\t\t\ttouchStartY = touchEvents['y'];\r\n\t\t\t\ttouchStartX = touchEvents['x'];\r\n\t\t\t}\r\n\t\t}\r\n\r\n\r\n\t\t/**\r\n\t\t* Adds the possibility to auto scroll through sections on touch devices.\r\n\t\t*/\r\n\t\tfunction addTouchHandler(){\r\n\t\t\tif(isTouch){\r\n\t\t\t\t//Microsoft pointers\r\n\t\t\t\tMSPointer = getMSPointer();\r\n\r\n\t\t\t\t$(document).off('touchstart ' +  MSPointer.down).on('touchstart ' + MSPointer.down, touchStartHandler);\r\n\t\t\t\t$(document).off('touchmove ' + MSPointer.move).on('touchmove ' + MSPointer.move, touchMoveHandler);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Removes the auto scrolling for touch devices.\r\n\t\t*/\r\n\t\tfunction removeTouchHandler(){\r\n\t\t\tif(isTouch){\r\n\t\t\t\t//Microsoft pointers\r\n\t\t\t\tMSPointer = getMSPointer();\r\n\r\n\t\t\t\t$(document).off('touchstart ' + MSPointer.down);\r\n\t\t\t\t$(document).off('touchmove ' + MSPointer.move);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/*\r\n\t\t* Returns and object with Microsoft pointers (for IE<11 and for IE >= 11)\r\n\t\t* http://msdn.microsoft.com/en-us/library/ie/dn304886(v=vs.85).aspx\r\n\t\t*/\r\n\t\tfunction getMSPointer(){\r\n\t\t\tvar pointer;\r\n\r\n\t\t\t//IE >= 11\r\n\t\t\tif(window.PointerEvent){\r\n\t\t\t\tpointer = { down: \"pointerdown\", move: \"pointermove\"};\r\n\t\t\t}\r\n\r\n\t\t\t//IE < 11\r\n\t\t\telse{\r\n\t\t\t\tpointer = { down: \"MSPointerDown\", move: \"MSPointerMove\"};\r\n\t\t\t}\r\n\r\n\t\t\treturn pointer;\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Gets the pageX and pageY properties depending on the browser.\r\n\t\t* https://github.com/alvarotrigo/fullPage.js/issues/194#issuecomment-34069854\r\n\t\t*/\r\n\t\tfunction getEventsPage(e){\r\n\t\t\tvar events = [];\r\n\r\n\t\t\tevents.y = (typeof e.pageY !== 'undefined' && (e.pageY || e.pageX) ? e.pageY : e.touches[0].pageY);\r\n\t\t\tevents.x = (typeof e.pageX !== 'undefined' && (e.pageY || e.pageX) ? e.pageX : e.touches[0].pageX);\r\n\r\n\t\t\t//in touch devices with scrollBar:true, e.pageY is detected, but we have to deal with touch events. #1008\r\n\t\t\tif(isTouch && isReallyTouch(e)){\r\n\t\t\t\tevents.y = e.touches[0].pageY;\r\n\t\t\t\tevents.x = e.touches[0].pageX;\r\n\t\t\t}\r\n\r\n\t\t\treturn events;\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Destroy multiscroll.js plugin's events\r\n\t\t*/\r\n\t\tMS.destroy = function() {\r\n\t\t\tMS.setKeyboardScrolling(false);\r\n\t\t\tMS.setMouseWheelScrolling(false);\r\n\t\t\tremoveTouchHandler();\r\n\r\n\t\t\t$(window)\r\n\t\t\t\t.off('hashchange', hashChangeHandler)\r\n\t\t\t\t.off('resize', doneResizing);\r\n\r\n\t\t\t$(document)\r\n\t\t\t\t.off('mouseenter', '#multiscroll-nav li')\r\n\t\t\t\t.off('mouseleave', '#multiscroll-nav li')\r\n\t\t\t\t.off('click', '#multiscroll-nav a');\r\n\t\t};\r\n\r\n\t\t/**\r\n\t\t* Build multiscroll.js plugin's events after destroy\r\n\t\t*/\r\n\t\tMS.build = function() {\r\n\t\t\tMS.setKeyboardScrolling(true);\r\n\t\t\tMS.setMouseWheelScrolling(true);\r\n\t\t\taddTouchHandler();\r\n\r\n\t\t\t$(window)\r\n\t\t\t\t.on('hashchange', hashChangeHandler)\r\n\t\t\t\t.on('resize', doneResizing);\r\n\r\n\t\t\t$(document)\r\n\t\t\t\t.on('mouseenter', '#multiscroll-nav li', navMouseEnterHandler)\r\n\t\t\t\t.on('mouseleave', '#multiscroll-nav li', navMouseLeaveHandler)\r\n\t\t\t\t.on('click', '#multiscroll-nav a', navClickHandler);\r\n\t\t};\r\n\r\n\t};\r\n})(jQuery, window, document, Math);\r\n"]}
\ No newline at end of file
+{"version":3,"sources":["jquery.multiscroll.js"],"names":["$","window","document","Math","undefined","fn","multiscroll","options","hashChangeHandler","value","location","hash","replace","sectionAnchor","length","section","find","isFirstScrollMove","lastScrolledDestiny","scrollPage","keydownHandler","e","clearTimeout","keydownId","activeElement","is","keyboardScrolling","keyCode","which","keyControls","inArray","preventDefault","setTimeout","onkeydown","shiftPressed","shiftKey","MS","moveSectionUp","moveSectionDown","moveTo","navClickHandler","index","this","parent","eq","navMouseEnterHandler","tooltip","data","navigationPosition","hide","appendTo","fadeIn","navMouseLeaveHandler","fadeOut","remove","doneResizing","windowHeight","height","each","css","getTableHeight","silentScroll","isFunction","afterResize","call","css3","transformContainer","position","top","leftDestination","leftDestinationIndex","rightDestination","numberSections","anchorLink","activeSection","leavingSection","yMovement","getYmovement","isMoving","topPos","left","right","addClass","siblings","removeClass","setURLHash","onLeave","translate3dLeft","translate3dRight","afterLoad","scrollDelay","scrollingSpeed","animate","easing","activateMenuElement","activateNavDots","removeMouseWheelHandler","addEventListener","removeEventListener","MouseWheelHandler","detachEvent","addMouseWheelHandler","attachEvent","event","delta","max","min","wheelDelta","deltaY","detail","container","translate3d","animated","toggleClass","getTransforms","-webkit-transform","-moz-transform","-ms-transform","transform","name","sectionIndex","navigation","menu","destiny","fromIndex","toIndex","anchors","setBodyClass","text","String","classRe","RegExp","className","support3d","has3d","el","createElement","transforms","webkitTransform","OTransform","msTransform","MozTransform","body","insertBefore","t","style","getComputedStyle","getPropertyValue","removeChild","addTableClass","element","wrapInner","sectionHeight","paddingTop","paddingBottom","paddings","parseInt","scrollToAnchor","touchMoveHandler","originalEvent","isReallyTouch","touchEvents","getEventsPage","touchEndY","touchEndX","abs","touchStartY","touchSensitivity","pointerType","touchStartHandler","touchStartX","addTouchHandler","isTouch","MSPointer","getMSPointer","off","down","on","move","removeTouchHandler","pointer","PointerEvent","events","y","pageY","pageX","touches","x","extend","verticalCentered","sectionsColor","navigationColor","navigationTooltips","loopBottom","loopTop","fixedElements","normalScrollElements","sectionSelector","leftSelector","rightSelector","afterRender","navigator","msMaxTouchPoints","nav","overflow","append","width","-ms-touch-action","touch-action","attr","closest","link","html","get","reverse","promise","done","last","first","keydown","mousedown","button","mouseenter","mouseleave","setMouseWheelScrolling","prev","next","isNaN","setKeyboardScrolling","setScrollingSpeed","destroy","build","jQuery"],"mappings":";;;;;;;CAOA,SAAUA,EAAGC,EAAQC,EAAUC,EAAMC,GAEpCJ,EAAEK,GAAGC,YAAc,SAASC,GA8L3B,QAASC,KACR,GAAIC,GAASR,EAAOS,SAASC,KAAKC,QAAQ,IAAK,IAC3CC,EAAgBJ,CAEpB,IAAGI,EAAcC,OAAO,CACvB,GAAIC,GAAUf,EAAE,YAAYgB,KAAK,iBAAiBH,EAAc,MAE5DI,EAAoD,mBAAxBC,sBAE5BD,GAAqBJ,IAAkBK,sBAC1CC,EAAWJ,IAad,QAASK,GAAeC,GACvBC,aAAaC,EAEb,IAAIC,GAAgBxB,EAAEE,EAASsB,cAE/B,KAAIA,EA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AU1H,GAEfvD,EAAEE,GACA+K,GAAG,aAAc,sBAAuBpI,GACxCoI,GAAG,aAAc,sBAAuB7H,GACxC6H,GAAG,QAAS,qBAAsBzI,MAIpCgM,OAAQvO,OAAQC,SAAUC","file":"jquery.multiscroll.min.js","sourcesContent":["/*!\r\n * multiscroll.js 0.1.8 Beta\r\n * https://github.com/alvarotrigo/multiscroll.js\r\n * @license MIT licensed\r\n *\r\n * Copyright (C) 2016 alvarotrigo.com - A project by Alvaro Trigo\r\n */\r\n(function($, window, document, Math, undefined) {\r\n\r\n\t$.fn.multiscroll = function(options) {\r\n\t\tvar MS = $.fn.multiscroll;\r\n\r\n\t\t// Create some defaults, extending them with any options that were provided\r\n\t\toptions = $.extend({\r\n\t\t\t'verticalCentered' : true,\r\n\t\t\t'scrollingSpeed': 700,\r\n\t\t\t'easing': 'easeInQuart',\r\n\t\t\t'menu': false,\r\n\t\t\t'sectionsColor': [],\r\n\t\t\t'anchors':[],\r\n\t\t\t'navigation': false,\r\n\t\t\t'navigationPosition': 'right',\r\n\t\t\t'navigationColor': '#000',\r\n\t\t\t'navigationTooltips': [],\r\n\t\t\t'loopBottom': false,\r\n\t\t\t'loopTop': false,\r\n\t\t\t'css3': false,\r\n\t\t\t'paddingTop': 0,\r\n\t\t\t'paddingBottom': 0,\r\n\t\t\t'fixedElements': null,\r\n\t\t\t'normalScrollElements': null,\r\n\t\t\t'keyboardScrolling': true,\r\n\t\t\t'touchSensitivity': 5,\r\n\r\n\t\t\t// Custom selectors\r\n\t\t\t'sectionSelector': '.ms-section',\r\n\t\t\t'leftSelector': '.ms-left',\r\n\t\t\t'rightSelector': '.ms-right',\r\n\r\n\t\t\t//events\r\n\t\t\t'afterLoad': null,\r\n\t\t\t'onLeave': null,\r\n\t\t\t'afterRender': null,\r\n\t\t\t'afterResize': null\r\n\t\t}, options);\r\n\r\n\t\t//Defines the delay to take place before being able to scroll to the next section\r\n\t\t//BE CAREFUL! Not recommened to change it under 400 for a good behavior in laptops and\r\n\t\t//Apple devices (laptops, mouses...)\r\n\t\tvar scrollDelay = 600;\r\n\r\n\t\tvar isTouch = (('ontouchstart' in window) || (navigator.msMaxTouchPoints > 0) || (navigator.maxTouchPoints));\r\n\r\n\t\t// adding class namef for right and left blocks\r\n\t\tif (options.rightSelector !== '.ms-right') {\r\n\t\t\t$(options.rightSelector).addClass('ms-right');\r\n\t\t}\r\n\r\n\t\tif (options.leftSelector !== '.ms-left') {\r\n\t\t\t$(options.leftSelector).addClass('ms-left');\r\n\t\t}\r\n\r\n\t\tvar numberSections = $('.ms-left').find('.ms-section').length;\r\n\t\tvar isMoving = false;\r\n\t\tvar nav;\r\n\t\tvar windowHeight = $(window).height();\r\n\r\n\r\n\t\taddMouseWheelHandler();\r\n\t\taddTouchHandler();\r\n\r\n\t\t//if css3 is not supported, it will use jQuery animations\r\n\t\tif(options.css3){\r\n\t\t\toptions.css3 = support3d();\r\n\t\t}\r\n\r\n\t\t$('html, body').css({\r\n\t\t\t'overflow' : 'hidden',\r\n\t\t\t'height' : '100%'\r\n\t\t});\r\n\r\n\t\t//adding class names to each sections\r\n\t\tif (options.sectionSelector !== '.ms-section') {\r\n\t\t\t$(options.sectionSelector).each(function(){\r\n\t\t\t\t$(this).addClass('ms-section');\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\t//creating the navigation dots\r\n\t\tif (options.navigation) {\r\n\t\t\t$('body').append('<div id=\"multiscroll-nav\"><ul></ul></div>');\r\n\t\t\tnav = $('#multiscroll-nav');\r\n\r\n\t\t\tnav.css('color', options.navigationColor);\r\n\t\t\tnav.addClass(options.navigationPosition);\r\n\t\t}\r\n\r\n\t\t$('.ms-right, .ms-left').css({\r\n\t\t\t'width': '50%',\r\n\t\t\t'position': 'absolute',\r\n\t\t\t'height': '100%',\r\n\t\t\t'-ms-touch-action': 'none'\r\n\t\t});\r\n\r\n\t\t$('.ms-right').css({\r\n\t\t\t'right': '1px', //http://stackoverflow.com/questions/23675457/chrome-and-opera-creating-small-padding-when-using-displaytable\r\n\t\t\t'top': '0',\r\n\t\t\t'-ms-touch-action': 'none',\r\n\t\t\t'touch-action': 'none'\r\n\t\t});\r\n\r\n\t\t$('.ms-left').css({\r\n\t\t\t'left': '0',\r\n\t\t\t'top': '0',\r\n\t\t\t'-ms-touch-action': 'none',\r\n\t\t\t'touch-action': 'none'\r\n\t\t});\r\n\r\n\r\n\t\t$('.ms-left .ms-section, .ms-right .ms-section').each(function(){\r\n\t\t\tvar sectionIndex = $(this).index();\r\n\r\n\t\t\tif(options.paddingTop || options.paddingBottom){\r\n\t\t\t\t$(this).css('padding', options.paddingTop  + ' 0 ' + options.paddingBottom + ' 0');\r\n\t\t\t}\r\n\r\n\t\t\tif (typeof options.sectionsColor[sectionIndex] !==  'undefined') {\r\n\t\t\t\t$(this).css('background-color', options.sectionsColor[sectionIndex]);\r\n\t\t\t}\r\n\r\n\t\t\tif (typeof options.anchors[sectionIndex] !== 'undefined') {\r\n\t\t\t\t$(this).attr('data-anchor', options.anchors[sectionIndex]);\r\n\t\t\t}\r\n\r\n\t\t\tif(options.verticalCentered){\r\n\t\t\t\taddTableClass($(this));\r\n\t\t\t}\r\n\r\n\t\t\t//only for the left panel\r\n\t\t\tif($(this).closest('.ms-left').length && options.navigation) {\r\n\t\t\t\tvar link = '';\r\n\t\t\t\tif(options.anchors.length){\r\n\t\t\t\t\tlink = options.anchors[sectionIndex];\r\n\t\t\t\t}\r\n\t\t\t\tvar tooltip = options.navigationTooltips[sectionIndex];\r\n\t\t\t\tif(typeof tooltip === 'undefined'){\r\n\t\t\t\t\ttooltip = '';\r\n\t\t\t\t}\r\n\t\t\t\tif (options.navigation) {\r\n\t\t\t\t\tnav.find('ul').append('<li data-tooltip=\"' + tooltip + '\"><a href=\"#' + link + '\"><span></span></a></li>');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t//inverting the right panel\r\n\t\t$('.ms-right').html( $('.ms-right').find('.ms-section').get().reverse());\r\n\r\n\t\t$('.ms-left .ms-section, .ms-right .ms-section').each(function(){\r\n\t\t\tvar sectionIndex = $(this).index();\r\n\r\n\t\t\t$(this).css({\r\n\t\t\t\t'height': '100%'\r\n\t\t\t});\r\n\r\n\r\n\t\t\tif(!sectionIndex && options.navigation ){\r\n\t\t\t\t//activating the navigation bullet\r\n\t\t\t\tnav.find('li').eq(sectionIndex).find('a').addClass('active');\r\n\t\t\t}\r\n\t\t}).promise().done(function(){\r\n\r\n\t\t\t//if no active section is defined, the 1st one will be the default one\r\n\t\t\tif(!$('.ms-left .ms-section.active').length){\r\n\t\t\t\t$('.ms-right').find('.ms-section').last().addClass('active');\r\n\t\t\t\t$('.ms-left').find('.ms-section').first().addClass('active');\r\n\t\t\t}\r\n\r\n\t\t\t//vertical centered of the navigation + first bullet active\r\n\t\t\tif(options.navigation){\r\n\t\t\t\tnav.css('margin-top', '-' + (nav.height()/2) + 'px');\r\n\t\t\t}\r\n\t\t\t$.isFunction( options.afterRender ) && options.afterRender.call( this);\r\n\r\n\t\t\t//scrolling to the defined active section and adjusting right and left panels\r\n\t\t\tsilentScroll();\r\n\r\n\t\t\t//setting the class for the body element\r\n\t\t\tsetBodyClass();\r\n\r\n\t\t\t$(window).on('load', function() {\r\n\t\t\t\tscrollToAnchor();\r\n\t\t\t});\r\n\t\t});\r\n\r\n\r\n\t\t//detecting any change on the URL to scroll to the given anchor link\r\n\t\t//(a way to detect back history button as we play with the hashes on the URL)\r\n\t\t$(window).on('hashchange', hashChangeHandler);\r\n\r\n\t\tfunction hashChangeHandler(){\r\n\t\t\tvar value =  window.location.hash.replace('#', '');\r\n\t\t\tvar sectionAnchor = value;\r\n\r\n\t\t\tif(sectionAnchor.length){\r\n\t\t\t\tvar section = $('.ms-left').find('[data-anchor=\"'+sectionAnchor+'\"]');\r\n\r\n\t\t\t\tvar isFirstScrollMove = (typeof lastScrolledDestiny === 'undefined' );\r\n\r\n\t\t\t\tif (isFirstScrollMove || sectionAnchor !== lastScrolledDestiny){\r\n\t\t\t\t\tscrollPage(section);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t};\r\n\r\n\r\n\t\t/**\r\n\t\t* Sliding with arrow keys, both, vertical and horizontal\r\n\t\t*/\r\n\t\t$(document).keydown(keydownHandler);\r\n\r\n\r\n\t\tvar keydownId;\r\n\t\tfunction keydownHandler(e) {\r\n\t\t\tclearTimeout(keydownId);\r\n\r\n\t\t\tvar activeElement = $(document.activeElement);\r\n\r\n\t\t\tif(!activeElement.is('textarea') && !activeElement.is('input') && !activeElement.is('select') &&\r\n\t\t\t\toptions.keyboardScrolling){\r\n\t\t\t\tvar keyCode = e.which;\r\n\r\n\t\t\t\t//preventing the scroll with arrow keys & spacebar & Page Up & Down keys\r\n\t\t\t\tvar keyControls = [40, 38, 32, 33, 34];\r\n\t\t\t\tif($.inArray(keyCode, keyControls) > -1){\r\n\t\t\t\t\te.preventDefault();\r\n\t\t\t\t}\r\n\r\n\t\t\t\tkeydownId = setTimeout(function(){\r\n\t\t\t\t\tonkeydown(e);\r\n\t\t\t\t},150);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t * Sliding with arrow keys, both, vertical and horizontal\r\n\t\t */\r\n\t\tfunction onkeydown(e){\r\n\t\t\tvar shiftPressed = e.shiftKey;\r\n\r\n\t\t\tswitch (e.which) {\r\n\t\t\t\t//up\r\n\t\t\t\tcase 38:\r\n\t\t\t\tcase 33:\r\n\t\t\t\t\tMS.moveSectionUp();\r\n\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t//down\r\n\t\t\t\tcase 32: //spacebar\r\n\t\t\t\t\tif(shiftPressed){\r\n\t\t\t\t\t\tMS.moveSectionUp();\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\tcase 40:\r\n\t\t\t\tcase 34:\r\n\t\t\t\t\tMS.moveSectionDown();\r\n\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t//Home\r\n\t\t\t\tcase 36:\r\n\t\t\t\t\tMS.moveTo(1);\r\n\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t//End\r\n\t\t\t\tcase 35:\r\n\t\t\t\t\tMS.moveTo( $('.ms-left .ms-section').length);\r\n\t\t\t\t\tbreak;\r\n\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn; // exit this handler for other keys\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t * Disabling any action when pressing of the mouse wheel (Chrome, IE, Opera, Safari)\r\n\t\t */\r\n\t\t$(document).mousedown(function(e) {\r\n\t\t\tif(e.button == 1){\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tfunction navClickHandler(e) {\r\n\t\t\te.preventDefault();\r\n\t\t\tvar index = $(this).parent().index();\r\n\t\t\tscrollPage($('.ms-left .ms-section').eq(index));\r\n\t\t}\r\n\r\n\t\t//navigation action\r\n\t\t$(document).on('click', '#multiscroll-nav a', navClickHandler);\r\n\r\n\t\tfunction navMouseEnterHandler() {\r\n\t\t\tvar tooltip = $(this).data('tooltip');\r\n\t\t\t$('<div class=\"multiscroll-tooltip ' + options.navigationPosition +'\">' + tooltip + '</div>').hide().appendTo($(this)).fadeIn(200);\r\n\t\t}\r\n\r\n\t\tfunction navMouseLeaveHandler() {\r\n\t\t\t$(this).find('.multiscroll-tooltip').fadeOut(200, function() {\r\n\t\t\t\t$(this).remove();\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\t//navigation tooltips\r\n\t\t$(document).on({\r\n\t\t\tmouseenter: navMouseEnterHandler,\r\n\t\t\tmouseleave: navMouseLeaveHandler\r\n\t\t}, '#multiscroll-nav li');\r\n\r\n\r\n\t\tif(options.normalScrollElements){\r\n\t\t\t$(document).on('mouseenter', options.normalScrollElements, function () {\r\n\t\t\t\tMS.setMouseWheelScrolling(false);\r\n\t\t\t});\r\n\r\n\t\t\t$(document).on('mouseleave', options.normalScrollElements, function(){\r\n\t\t\t\tMS.setMouseWheelScrolling(true);\r\n\t\t\t});\r\n\t\t}\r\n\r\n\r\n\t\t//when resizing the site, we adjust the heights of the sections\r\n\t\t$(window).on('resize', doneResizing);\r\n\r\n\t\t/**\r\n\t\t * When resizing is finished, we adjust the slides sizes and positions\r\n\t\t */\r\n\t\tfunction doneResizing() {\r\n\t\t\twindowHeight = $(window).height();\r\n\t\t\t$('.ms-tableCell').each(function() {\r\n\t\t\t\t$(this).css({ height: getTableHeight($(this).parent()) });\r\n\t\t\t});\r\n\t\t\tsilentScroll();\r\n\t\t\t$.isFunction( options.afterResize ) && options.afterResize.call( this);\r\n\t\t}\r\n\r\n\t\tfunction silentScroll(){\r\n\t\t\t//moving the right section to the bottom\r\n\t\t\tif(options.css3){\r\n\t\t\t\ttransformContainer($('.ms-left'), 'translate3d(0px, -' + $('.ms-left').find('.ms-section.active').position().top + 'px, 0px)', false);\r\n\t\t\t\ttransformContainer($('.ms-right'), 'translate3d(0px, -' + $('.ms-right').find('.ms-section.active').position().top + 'px, 0px)', false);\r\n\t\t\t}else{\r\n\t\t\t\t$('.ms-left').css('top', -$('.ms-left').find('.ms-section.active').position().top );\r\n\t\t\t\t$('.ms-right').css('top', -$('.ms-right').find('.ms-section.active').position().top );\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tMS.moveSectionUp = function(){\r\n\t\t\tvar prev = $('.ms-left .ms-section.active').prev('.ms-section');\r\n\r\n\t\t\tif(!prev.length && options.loopTop){\r\n\t\t\t\tprev = $('.ms-left .ms-section').last();\r\n\t\t\t}\r\n\r\n\t\t\tif (prev.length) {\r\n\t\t\t\tscrollPage(prev);\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\tMS.moveSectionDown = function (){\r\n\t\t\tvar next = $('.ms-left .ms-section.active').next('.ms-section');\r\n\r\n\t\t\tif(!next.length && options.loopBottom ){\r\n\t\t\t\tnext = $('.ms-left .ms-section').first();\r\n\t\t\t}\r\n\r\n\t\t\tif(next.length){\r\n\t\t\t\tscrollPage(next);\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\tMS.moveTo = function (section){\r\n\t\t\tvar destiny = '';\r\n\r\n\t\t\tif(isNaN(section)){\r\n\t\t\t\tdestiny = $('.ms-left [data-anchor=\"'+section+'\"]');\r\n\t\t\t}else{\r\n\t\t\t\tdestiny = $('.ms-left .ms-section').eq( (section -1) );\r\n\t\t\t}\r\n\r\n\t\t\tscrollPage(destiny);\r\n\t\t};\r\n\r\n\t\tfunction scrollPage(leftDestination){\r\n\t\t\tvar leftDestinationIndex = leftDestination.index();\r\n\t\t\tvar rightDestination = $('.ms-right').find('.ms-section').eq( numberSections -1 - leftDestinationIndex);\r\n\t\t\tvar rightDestinationIndex = numberSections - 1 - leftDestinationIndex;\r\n\t\t\tvar anchorLink  = leftDestination.data('anchor');\r\n\t\t\tvar activeSection = $('.ms-left .ms-section.active');\r\n\t\t\tvar leavingSection = activeSection.index() + 1;\r\n\t\t\tvar yMovement = getYmovement(leftDestination);\r\n\r\n\t\t\t//preventing from activating the MouseWheelHandler event\r\n\t\t\t//more than once if the page is scrolling\r\n\t\t\tisMoving = true;\r\n\r\n\t\t\tvar topPos = {\r\n\t\t\t\t'left' : leftDestination.position().top,\r\n\t\t\t\t'right': rightDestination.position().top\r\n\t\t\t};\r\n\r\n\t\t\trightDestination.addClass('active').siblings().removeClass('active');\r\n\t\t\tleftDestination.addClass('active').siblings().removeClass('active');\r\n\r\n\t\t\tsetURLHash(anchorLink);\r\n\r\n\t\t\t// Use CSS3 translate functionality or...\r\n\t\t\tif (options.css3){\r\n\t\t\t\t//callback (onLeave)\r\n\t\t\t\t$.isFunction(options.onLeave) && options.onLeave.call(this, leavingSection, (leftDestinationIndex + 1), yMovement);\r\n\r\n\t\t\t\tvar translate3dLeft = 'translate3d(0px, -' + topPos['left'] + 'px, 0px)';\r\n\t\t\t\tvar translate3dRight = 'translate3d(0px, -' + topPos['right'] + 'px, 0px)';\r\n\r\n\t\t\t\ttransformContainer($('.ms-left'), translate3dLeft, true);\r\n\t\t\t\ttransformContainer($('.ms-right'), translate3dRight, true);\r\n\r\n\t\t\t\tsetTimeout(function () {\r\n\t\t\t\t\t//callback (afterLoad)\r\n\t\t\t\t\t$.isFunction(options.afterLoad) && options.afterLoad.call(this, anchorLink, (leftDestinationIndex + 1));\r\n\r\n\t\t\t\t\tsetTimeout(function () {\r\n\t\t\t\t\t\tisMoving = false;\r\n\t\t\t\t\t}, scrollDelay);\r\n\t\t\t\t}, options.scrollingSpeed);\r\n\t\t\t}else{\r\n\t\t\t\t//callback (onLeave)\r\n\t\t\t\t$.isFunction(options.onLeave) && options.onLeave.call(this, leavingSection, (leftDestinationIndex + 1), yMovement);\r\n\r\n\t\t\t\t$('.ms-left').animate({\r\n\t\t\t\t\t'top': -topPos['left']\r\n\t\t\t\t}, options.scrollingSpeed, options.easing, function(){\r\n\t\t\t\t\t$.isFunction(options.afterLoad) && options.afterLoad.call(this, anchorLink, (leftDestinationIndex + 1));\r\n\r\n\t\t\t\t\tsetTimeout(function () {\r\n\t\t\t\t\t\tisMoving = false;\r\n\t\t\t\t\t}, scrollDelay);\r\n\t\t\t\t});\r\n\r\n\t\t\t\t$('.ms-right').animate({\r\n\t\t\t\t\t'top': -topPos['right']\r\n\t\t\t\t}, options.scrollingSpeed, options.easing);\r\n\t\t\t}\r\n\r\n\t\t\t//flag to avoid callingn `scrollPage()` twice in case of using anchor links\r\n\t\t\tlastScrolledDestiny = anchorLink;\r\n\r\n\t\t\tactivateMenuElement(anchorLink);\r\n\t\t\tactivateNavDots(anchorLink, leftDestinationIndex);\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Removes the auto scrolling action fired by the mouse wheel and tackpad.\r\n\t\t* After this function is called, the mousewheel and trackpad movements won't scroll through sections.\r\n\t\t*/\r\n\t\tfunction removeMouseWheelHandler(){\r\n\t\t\tif (document.addEventListener) {\r\n\t\t\t\tdocument.removeEventListener('mousewheel', MouseWheelHandler, false); //IE9, Chrome, Safari, Oper\r\n\t\t\t\tdocument.removeEventListener('wheel', MouseWheelHandler, false); //Firefox\r\n\t\t\t} else {\r\n\t\t\t\tdocument.detachEvent(\"onmousewheel\", MouseWheelHandler); //IE 6/7/8\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Adds the auto scrolling action for the mouse wheel and tackpad.\r\n\t\t* After this function is called, the mousewheel and trackpad movements will scroll through sections\r\n\t\t*/\r\n\t\tfunction addMouseWheelHandler(){\r\n\t\t\tif (document.addEventListener) {\r\n\t\t\t\tdocument.addEventListener(\"mousewheel\", MouseWheelHandler, false); //IE9, Chrome, Safari, Oper\r\n\t\t\t\tdocument.addEventListener(\"wheel\", MouseWheelHandler, false); //Firefox\r\n\t\t\t} else {\r\n\t\t\t\tdocument.attachEvent(\"onmousewheel\", MouseWheelHandler); //IE 6/7/8\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t * Detecting mousewheel scrolling\r\n\t\t *\r\n\t\t * http://blogs.sitepointstatic.com/examples/tech/mouse-wheel/index.html\r\n\t\t * http://www.sitepoint.com/html5-javascript-mouse-wheel/\r\n\t\t */\r\n\t\tfunction MouseWheelHandler(e) {\r\n\t\t\t// cross-browser wheel delta\r\n\t\t\te = window.event || e;\r\n\t\t\tvar delta = Math.max(-1, Math.min(1,\r\n\t\t\t\t\t(e.wheelDelta || -e.deltaY || -e.detail)));\r\n\r\n\t\t\tif (!isMoving) { //if theres any #\r\n\r\n\t\t\t\t//scrolling down?\r\n\t\t\t\tif (delta < 0) {\r\n\t\t\t\t\tMS.moveSectionDown();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t//scrolling up?\r\n\t\t\t\telse {\r\n\t\t\t\t\tMS.moveSectionUp();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Adds a css3 transform property to the container class with or without animation depending on the animated param.\r\n\t\t*/\r\n\t\tfunction transformContainer(container, translate3d, animated){\r\n\t\t\tcontainer.toggleClass('ms-easing', animated);\r\n\r\n\t\t\tcontainer.css(getTransforms(translate3d));\r\n\t\t}\r\n\r\n\r\n\t\t/**\r\n\t\t* Returns the transform styles for all browsers\r\n\t\t*/\r\n\t\tfunction getTransforms(translate3d){\r\n\t\t\treturn {\r\n\t\t\t\t'-webkit-transform': translate3d,\r\n\t\t\t\t'-moz-transform': translate3d,\r\n\t\t\t\t'-ms-transform':translate3d,\r\n\t\t\t\t'transform': translate3d\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t * Activating the website navigation dots according to the given slide name.\r\n\t\t */\r\n\t\tfunction activateNavDots(name, sectionIndex){\r\n\t\t\tif(options.navigation){\r\n\t\t\t\t$('#multiscroll-nav').find('.active').removeClass('active');\r\n\t\t\t\tif(name){\r\n\t\t\t\t\t$('#multiscroll-nav').find('a[href=\"#' + name + '\"]').addClass('active');\r\n\t\t\t\t}else{\r\n\t\t\t\t\t$('#multiscroll-nav').find('li').eq(sectionIndex).find('a').addClass('active');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t * Activating the website main menu elements according to the given slide name.\r\n\t\t */\r\n\t\tfunction activateMenuElement(name){\r\n\t\t\tif(options.menu){\r\n\t\t\t\t$(options.menu).find('.active').removeClass('active');\r\n\t\t\t\t$(options.menu).find('[data-menuanchor=\"'+name+'\"]').addClass('active');\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Retuns `up` or `down` depending on the scrolling movement to reach its destination\r\n\t\t* from the current section.\r\n\t\t*/\r\n\t\tfunction getYmovement(destiny){\r\n\t\t\tvar fromIndex = $('.ms-left .ms-section.active').index();\r\n\t\t\tvar toIndex = destiny.index();\r\n\r\n\t\t\tif(fromIndex > toIndex){\r\n\t\t\t\treturn 'up';\r\n\t\t\t}\r\n\t\t\treturn 'down';\r\n\t\t}\r\n\r\n\r\n\t\t/**\r\n\t\t* Sets the URL hash for a section with slides\r\n\t\t*/\r\n\t\tfunction setURLHash(anchorLink){\r\n\t\t\tif(options.anchors.length){\r\n\t\t\t\tlocation.hash = anchorLink;\r\n\t\t\t}\r\n\r\n\t\t\tsetBodyClass();\r\n\t\t}\r\n\r\n\t\t /**\r\n\t\t* Sets a class for the body of the page depending on the active section / slide\r\n\t\t*/\r\n\t\tfunction setBodyClass(){\r\n\t\t\tvar section = $('.ms-left .ms-section.active');\r\n\t\t\tvar sectionAnchor = section.data('anchor');\r\n\t\t\tvar sectionIndex = section.index();\r\n\r\n\t\t\tvar text = String(sectionIndex);\r\n\r\n\t\t\tif(options.anchors.length){\r\n\t\t\t\ttext = sectionAnchor;\r\n\t\t\t}\r\n\r\n\t\t\t//changing slash for dash to make it a valid CSS style\r\n\t\t\ttext = text.replace('/', '-').replace('#','');\r\n\r\n\t\t\t//removing previous anchor classes\r\n\t\t\tvar classRe = new RegExp('\\\\b\\\\s?' + 'ms-viewing' + '-[^\\\\s]+\\\\b', \"g\");\r\n\t\t\t$('body')[0].className = $('body')[0].className.replace(classRe, '');\r\n\r\n\t\t\t//adding the current anchor\r\n\t\t\t$('body').addClass('ms-viewing-' + text);\r\n\t\t}\r\n\r\n\r\n\t\t/**\r\n\t\t* Checks for translate3d support\r\n\t\t* @return boolean\r\n\t\t* http://stackoverflow.com/questions/5661671/detecting-transform-translate3d-support\r\n\t\t*/\r\n\t\tfunction support3d() {\r\n\t\t\tvar el = document.createElement('p'),\r\n\t\t\t\thas3d,\r\n\t\t\t\ttransforms = {\r\n\t\t\t\t\t'webkitTransform':'-webkit-transform',\r\n\t\t\t\t\t'OTransform':'-o-transform',\r\n\t\t\t\t\t'msTransform':'-ms-transform',\r\n\t\t\t\t\t'MozTransform':'-moz-transform',\r\n\t\t\t\t\t'transform':'transform'\r\n\t\t\t\t};\r\n\r\n\t\t\t// Add it to the body to get the computed style.\r\n\t\t\tdocument.body.insertBefore(el, null);\r\n\r\n\t\t\tfor (var t in transforms) {\r\n\t\t\t\tif (el.style[t] !== undefined) {\r\n\t\t\t\t\tel.style[t] = \"translate3d(1px,1px,1px)\";\r\n\t\t\t\t\thas3d = window.getComputedStyle(el).getPropertyValue(transforms[t]);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tdocument.body.removeChild(el);\r\n\r\n\t\t\treturn (has3d !== undefined && has3d.length > 0 && has3d !== \"none\");\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Wraps an element in order to center it vertically by using a class style.\r\n\t\t*/\r\n\t\tfunction addTableClass(element){\r\n\t\t\telement.addClass('ms-table').wrapInner('<div class=\"ms-tableCell\" style=\"height: ' + getTableHeight(element) + 'px\" />');\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Gets the height of the section after removing the paddings.\r\n\t\t*/\r\n\t\tfunction getTableHeight(section){\r\n\t\t\tvar sectionHeight = windowHeight;\r\n\r\n\t\t\tif(options.paddingTop || options.paddingBottom){\r\n\t\t\t\tvar paddings = parseInt(section.css('padding-top')) + parseInt(section.css('padding-bottom'));\r\n\t\t\t\tsectionHeight = (windowHeight - paddings);\r\n\t\t\t}\r\n\r\n\t\t\treturn sectionHeight;\r\n\t\t}\r\n\r\n\r\n\t\t/**\r\n\t\t* Scrolls the page to the existent anchor in the URL\r\n\t\t*/\r\n\t\tfunction scrollToAnchor(){\r\n\t\t\t//getting the anchor link in the URL and deleting the `#`\r\n\t\t\tvar sectionAnchor =  window.location.hash.replace('#', '');\r\n\t\t\tvar section = $('.ms-left .ms-section[data-anchor=\"'+sectionAnchor+'\"]');\r\n\r\n\t\t\tif(sectionAnchor.length){  //if theres any #\r\n\t\t\t\tscrollPage(section);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Adds or remove the possiblity of scrolling through sections by using the keyboard arrow keys\r\n\t\t*/\r\n\t\tMS.setKeyboardScrolling = function (value){\r\n\t\t\toptions.keyboardScrolling = value;\r\n\t\t};\r\n\r\n\t\t/**\r\n\t\t* Adds or remove the possiblity of scrolling through sections by using the mouse wheel or the trackpad.\r\n\t\t*/\r\n\t\tMS.setMouseWheelScrolling = function (value){\r\n\t\t\tif(value){\r\n\t\t\t\taddMouseWheelHandler();\r\n\t\t\t}else{\r\n\t\t\t\tremoveMouseWheelHandler();\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\t/**\r\n\t\t* Defines the scrolling speed\r\n\t\t*/\r\n\t\tMS.setScrollingSpeed = function(value){\r\n\t\t\toptions.scrollingSpeed = value;\r\n\t\t};\r\n\r\n\r\n\r\n\t\tvar touchStartY = 0;\r\n\t\tvar touchStartX = 0;\r\n\t\tvar touchEndY = 0;\r\n\t\tvar touchEndX = 0;\r\n\r\n\t\t/* Detecting touch events\r\n\r\n\t\t* As we are changing the top property of the page on scrolling, we can not use the traditional way to detect it.\r\n\t\t* This way, the touchstart and the touch moves shows an small difference between them which is the\r\n\t\t* used one to determine the direction.\r\n\t\t*/\r\n\t\tfunction touchMoveHandler(event){\r\n\t\t\tvar e = event.originalEvent;\r\n\r\n\t\t\tif(isReallyTouch(e)){\r\n\t\t\t\t//preventing the easing on iOS devices\r\n\t\t\t\tevent.preventDefault();\r\n\r\n\t\t\t\tvar activeSection = $('.ms-left .ms-section.active');\r\n\r\n\t\t\t\tif (!isMoving) { //if theres any #\r\n\t\t\t\t\tvar touchEvents = getEventsPage(e);\r\n\t\t\t\t\ttouchEndY = touchEvents['y'];\r\n\t\t\t\t\ttouchEndX = touchEvents['x'];\r\n\r\n\r\n\t\t\t\t\t//is the movement greater than the minimum resistance to scroll?\r\n\t\t\t\t\tif (Math.abs(touchStartY - touchEndY) > ($(window).height() / 100 * options.touchSensitivity)) {\r\n\r\n\t\t\t\t\t\tif (touchStartY > touchEndY) {\r\n\t\t\t\t\t\t\tMS.moveSectionDown();\r\n\r\n\t\t\t\t\t\t} else if (touchEndY > touchStartY) {\r\n\t\t\t\t\t\t\tMS.moveSectionUp();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* As IE >= 10 fires both touch and mouse events when using a mouse in a touchscreen\r\n\t\t* this way we make sure that is really a touch event what IE is detecting.\r\n\t\t*/\r\n\t\tfunction isReallyTouch(e){\r\n\t\t\t//if is not IE   ||  IE is detecting `touch` or `pen`\r\n\t\t\treturn typeof e.pointerType === 'undefined' || e.pointerType != 'mouse';\r\n\t\t}\r\n\r\n\r\n\t\t/**\r\n\t\t* Handler to get he coordinates of the starting touch\r\n\t\t*/\r\n\t\tfunction touchStartHandler(event){\r\n\t\t\tvar e = event.originalEvent;\r\n\r\n\t\t\tif(isReallyTouch(e)){\r\n\t\t\t\tvar touchEvents = getEventsPage(e);\r\n\t\t\t\ttouchStartY = touchEvents['y'];\r\n\t\t\t\ttouchStartX = touchEvents['x'];\r\n\t\t\t}\r\n\t\t}\r\n\r\n\r\n\t\t/**\r\n\t\t* Adds the possibility to auto scroll through sections on touch devices.\r\n\t\t*/\r\n\t\tfunction addTouchHandler(){\r\n\t\t\tif(isTouch){\r\n\t\t\t\t//Microsoft pointers\r\n\t\t\t\tMSPointer = getMSPointer();\r\n\r\n\t\t\t\t$(document).off('touchstart ' +  MSPointer.down).on('touchstart ' + MSPointer.down, touchStartHandler);\r\n\t\t\t\t$(document).off('touchmove ' + MSPointer.move).on('touchmove ' + MSPointer.move, touchMoveHandler);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Removes the auto scrolling for touch devices.\r\n\t\t*/\r\n\t\tfunction removeTouchHandler(){\r\n\t\t\tif(isTouch){\r\n\t\t\t\t//Microsoft pointers\r\n\t\t\t\tMSPointer = getMSPointer();\r\n\r\n\t\t\t\t$(document).off('touchstart ' + MSPointer.down);\r\n\t\t\t\t$(document).off('touchmove ' + MSPointer.move);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/*\r\n\t\t* Returns and object with Microsoft pointers (for IE<11 and for IE >= 11)\r\n\t\t* http://msdn.microsoft.com/en-us/library/ie/dn304886(v=vs.85).aspx\r\n\t\t*/\r\n\t\tfunction getMSPointer(){\r\n\t\t\tvar pointer;\r\n\r\n\t\t\t//IE >= 11\r\n\t\t\tif(window.PointerEvent){\r\n\t\t\t\tpointer = { down: \"pointerdown\", move: \"pointermove\"};\r\n\t\t\t}\r\n\r\n\t\t\t//IE < 11\r\n\t\t\telse{\r\n\t\t\t\tpointer = { down: \"MSPointerDown\", move: \"MSPointerMove\"};\r\n\t\t\t}\r\n\r\n\t\t\treturn pointer;\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Gets the pageX and pageY properties depending on the browser.\r\n\t\t* https://github.com/alvarotrigo/fullPage.js/issues/194#issuecomment-34069854\r\n\t\t*/\r\n\t\tfunction getEventsPage(e){\r\n\t\t\tvar events = [];\r\n\r\n\t\t\tevents.y = (typeof e.pageY !== 'undefined' && (e.pageY || e.pageX) ? e.pageY : e.touches[0].pageY);\r\n\t\t\tevents.x = (typeof e.pageX !== 'undefined' && (e.pageY || e.pageX) ? e.pageX : e.touches[0].pageX);\r\n\r\n\t\t\t//in touch devices with scrollBar:true, e.pageY is detected, but we have to deal with touch events. #1008\r\n\t\t\tif(isTouch && isReallyTouch(e)){\r\n\t\t\t\tevents.y = e.touches[0].pageY;\r\n\t\t\t\tevents.x = e.touches[0].pageX;\r\n\t\t\t}\r\n\r\n\t\t\treturn events;\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t* Destroy multiscroll.js plugin's events\r\n\t\t*/\r\n\t\tMS.destroy = function() {\r\n\t\t\tMS.setKeyboardScrolling(false);\r\n\t\t\tMS.setMouseWheelScrolling(false);\r\n\t\t\tremoveTouchHandler();\r\n\r\n\t\t\t$(window)\r\n\t\t\t\t.off('hashchange', hashChangeHandler)\r\n\t\t\t\t.off('resize', doneResizing);\r\n\r\n\t\t\t$(document)\r\n\t\t\t\t.off('mouseenter', '#multiscroll-nav li')\r\n\t\t\t\t.off('mouseleave', '#multiscroll-nav li')\r\n\t\t\t\t.off('click', '#multiscroll-nav a');\r\n\t\t};\r\n\r\n\t\t/**\r\n\t\t* Build multiscroll.js plugin's events after destroy\r\n\t\t*/\r\n\t\tMS.build = function() {\r\n\t\t\tMS.setKeyboardScrolling(true);\r\n\t\t\tMS.setMouseWheelScrolling(true);\r\n\t\t\taddTouchHandler();\r\n\r\n\t\t\t$(window)\r\n\t\t\t\t.on('hashchange', hashChangeHandler)\r\n\t\t\t\t.on('resize', doneResizing);\r\n\r\n\t\t\t$(document)\r\n\t\t\t\t.on('mouseenter', '#multiscroll-nav li', navMouseEnterHandler)\r\n\t\t\t\t.on('mouseleave', '#multiscroll-nav li', navMouseLeaveHandler)\r\n\t\t\t\t.on('click', '#multiscroll-nav a', navClickHandler);\r\n\t\t};\r\n\r\n\t};\r\n})(jQuery, window, document, Math);\r\n"],"sourceRoot":"/source/"}
\ No newline at end of file
diff --git a/jquery.multiscroll.css b/jquery.multiscroll.css
index d5ca671..54ecb3d 100644
--- a/jquery.multiscroll.css
+++ b/jquery.multiscroll.css
@@ -1,5 +1,5 @@
 /*!
- * multiscroll.js 0.1.7 Beta
+ * multiscroll.js 0.1.8 Beta
  * https://github.com/alvarotrigo/multiscroll.js
  * @license MIT licensed
  *
diff --git a/jquery.multiscroll.js b/jquery.multiscroll.js
index 371331b..ae5b269 100644
--- a/jquery.multiscroll.js
+++ b/jquery.multiscroll.js
@@ -1,5 +1,5 @@
 /*!
- * multiscroll.js 0.1.7 Beta
+ * multiscroll.js 0.1.8 Beta
  * https://github.com/alvarotrigo/multiscroll.js
  * @license MIT licensed
  *
diff --git a/jquery.multiscroll.min.js b/jquery.multiscroll.min.js
index 7d4dc16..0319d45 100644
--- a/jquery.multiscroll.min.js
+++ b/jquery.multiscroll.min.js
@@ -1,5 +1,5 @@
 /*!
- * multiscroll.js 0.1.7 Beta
+ * multiscroll.js 0.1.8 Beta
  * https://github.com/alvarotrigo/multiscroll.js
  * @license MIT licensed
  *
diff --git a/package.json b/package.json
index 34038b1..19ebac5 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "multiscroll.js",
-  "version": "0.1.7",
+  "version": "0.1.8",
   "description": "A simple plugin to create split scrolling websites with two vertical scrolling panels.",
   "main": "jquery.multiscroll.js",
   "scripts": {
