adjust graph to fit, add CSS for graph