Allow resizing ActiveCode

This is an attempt at #417, allowing ActiveCode blocks to be resized.

It seems relatively straightforward. I did spend a little time looking for a way to lock the width, but didn't find anything. I think it's okay though, since in some cases it is nice to be able to change the width. It is possible to expand the width **over** other elements, but it doesn't break anything.