improved shrinking animation