This version is old school.
Please find jQuery plugins on npm.
jQuery mb.containerPlus
This is a useful plug in to build full featured and fully skinnable containers. The container can be set to draggable, resizable, collapsable and minimizable.