Refactoring SVG animations

Using transformations of the groups instead of width manipulation. This
makes it easier to rotate the image and results in a bit less code.
Adding some basic random rotation to the images