fix auto scrolling;