fixing auto scroll for "prod"