added resize to elements in fluid layout