make layout resizable