added documentation on resizing