(function(b,a,c){b.Navigator.options.isScrollToNext=true;b.Navigator.option("isScrollToNext",true,function(){var e=this,d;e.on("select",function(k,m,i){if(d===c){d=e.index?0:1}var h=m>d,j=a(i)[h?"next":"prev"](),l=j.offset()||a(i).offset(),g=e.$el.offset(),f;if(h?l.left+l.width>g.left+g.width:l.left<g.left){f=e.$list.offset();e.$el.iScroll("scrollTo",h?g.width-l.left+f.left-l.width:f.left-l.left,0,400)}d=m})})})(gmu,gmu.$);