I had the same flickering problem. It was caused by the hash anchor in the link that triggers the function. Fixed it with preventDefault():
$("#button").click(function(e){
e.preventDefault();
$("body").animate({scrollTop: 1400},"slow");
});
I had the same flickering problem. It was caused by the hash anchor in the link that triggers the function. Fixed it with preventDefault():
$("#button").click(function(e){
e.preventDefault();
$("body").animate({scrollTop: 1400},"slow");
});