graph now scrolls instead of accumulating forever