Resizable panels

Somebody asked me how one could extend the "Panel-like system" such that Panels could be re-sized. Here is my attempt... Source can be downloaded and improved at will from here.