variable for scrolling speed added to adjust speed of scrolling