Change code of scroll