Basic working example with a couple of position bugs on resizing.