change scroll control function