Change the dom structure

This changes splits the layers from the canvas. This has the advantage,
that we don't need to redraw the layers all the time if they don't
change - they also get saved and it should be easier to manage the
storyboard events.