Fixed it! Switched all doubles to ints. Scrolling works!