divs are created with proper scaling