Gave attribution for some scrolling code I took from StackOverflow.