change scroll conditions