fix scrolltop glitch