scrolling to center the graph cell