changed the pre to auto scroll