zooming and corrected HTML/graph transform