Fixed bug where graph would stop scrolling.