Added some dynamic resizing when adding items.
Added dynamic resizing of the text frame around items.