autoscrolling much smoother now by changing a class