There is a script for smooth scrolling to a block by a specific link. It is necessary to make it so that when the scrolling to this block is complete, it flashes again.
$(document).ready(function(){ $("nav").on("click","a#anchor", function (event) { event.preventDefault(); var id = $(this).attr('href'), top = $(id).offset().top; $('body,html').animate({scrollTop: top}, 500); }); });