updated layout, made it resizable