change to manage all objects with element, width, height, top and left. divide method into calculate positions and build elements.