made figure containers resizeable