Really bad hack for resizeing the graph