prevent page scroll on update