Scroll on mobil devices

Hello, dear developers!
Could help me please with one problem.
I made a scroll on pages http://wot-assist.ru/vyipolnenie-lbz/ , and put this code:

(function( $ ){
  /**
   * window.load wrapper
   * Этот код выполняется, когда страница и все элементы загружены целиком
   */
  $(window).load(function(){

$('html, body').animate({ 
  scrollTop: $('.servis_wpap').offset().top - 50
  }, 2000);
});

})(jQuery);

but scroll works incorrect on mobil devices. It does not work when I load the page being on the top of the page, and it works when I load the page from its bottom or reloat it.

It would be awesome if could help me with that problem.

Hello there,

It looks like jQuery .animate() method compatibility on certain mobile browsers. Please consult to this article.

Regards,
Kharis

I changed the code and nothing happened. Actually scroll doesn’t work not only on mobil devices, but just on small windows as well

(function( $ ){

/**
   * window.load wrapper
   * Этот код выполняется, когда страница и все элементы загружены целиком
   */
  $(window).load(function(){
if (navigator.userAgent.match(/(iPod|iPhone|iPad|Android)/)) {           
            window.scrollTo(200,100) // first value for left offset, second value for top offset
}
else{
$('html, body').animate({ 
  scrollTop: $('.servis_wpap').offset().top - 50
  }, 2000);
};	
})
})(jQuery);

Hello there,

I don’t think that there’s an easy fix for this. My opinion could be wrong. Please consult to these resources:

Regards,
Kharis