Make layout flexible