fixing auto scroll