autoscrolling and plugin script