Resizing fixes #11

Now we scale everything to a margin of 50 on each side. Not perfect, but
it's better than before.