auto scroll added as code was being chopped