adding resizing of columns + remembering the openend row