restructure divs