change scroll method