Update graph to support scrolling