Fixed the resize, added a resize button, and added borders to see the div size.