Device for letting door, etc., swing