centered the graph