add resizing graph height