Adjusting scroll distance