remember previous message and center text (after resizing)