removed XML prolog
more robust viewbox code