Changed molecule display position

If the molecule would be displayed off the edge of the svg the position
is shifted so that it will be displayed within the bounds of the svg
image