fix auto scroll on FF