resize graph div