autoscrolling to make sure indicator is always visible