fix bug with adding too many blocking divs
fixed problem with resizing