Added adding divs code and started resizing code