changed the sizes of the text and image windows