Iteration working on box divs, and color, but not positioning