begin resizing