fixes in bounbox.js
Resize feature was added. (First implementation)