returned to original dygraphs resizing solution.