working on getting graphs to resize to parent