I have a javascript that includes following line of code:
window.scrollto(x,y);
where x and y are the coordinates of the position where there s
do this:
window.setTimeout(function() {window.scrollTo(x,y);}, 0);
also be aware of the case, scrollto is different to scrollTo in javascript.