Dynamic background-layer

I wasn't happy, that the background-layer must be static. So I changed it, that it may also be dynamic. This time with less major changes.

The dynamic background accepts only the current page number, because of it's generated when adding a page.