New animation for resizing