Make preview resizable

At some point the input box was resizable but not the preview to
avoid dialog overflow.

This makes the preview resizable and the input box only resizable
after the preview.

This close #12.