adjusting graph library to change width on load