added autoscroll