move width/height computation to init (otherwise it happens too early in composer)
change width/height of container to percent