function( ypos ) {
			if ( $.type( ypos ) !== "number" ) {
				ypos = $.mobile.defaultHomeScroll;
			}

			// prevent scrollstart and scrollstop events
			$.event.special.scrollstart.enabled = false;

			setTimeout( function() {
				window.scrollTo( 0, ypos );
				$.mobile.document.trigger( "silentscroll", { x: 0, y: ypos });
			}, 20 );

			setTimeout( function() {
				$.event.special.scrollstart.enabled = true;
			}, 150 );
		}
function( ypos ) {
			if ( $.type( ypos ) !== "number" ) {
				ypos = $.mobile.defaultHomeScroll;
			}

			// prevent scrollstart and scrollstop events
			$.event.special.scrollstart.enabled = false;

			setTimeout( function() {
				window.scrollTo( 0, ypos );
				$.mobile.document.trigger( "silentscroll", { x: 0, y: ypos });
			}, 20 );

			setTimeout( function() {
				$.event.special.scrollstart.enabled = true;
			}, 150 );
		}
function ( ypos ) { if ( $ . type ( ypos ) !== "number" ) { ypos = $ . mobile . defaultHomeScroll ; } // prevent scrollstart and scrollstop events $ . event . special . scrollstart . enabled = false ; setTimeout ( function ( ) { window . scrollTo ( 0 , ypos ) ; $ . mobile . document . trigger ( "silentscroll" , { x : 0 , y : ypos } ) ; } , 20 ) ; setTimeout ( function ( ) { $ . event . special . scrollstart . enabled = true ; } , 150 ) ; }
Scroll page vertically: scroll to 0 to hide iOS address bar, or pass a Y value
Scroll page vertically : scroll to 0 to hide iOS address bar or pass a Y value
scroll to the home page