andded containment to parent

if `parent:true` drag and resize will be restrained to the parent div width.