Trend shocks and economic development