wrote divs in a loop, got bars on screen