Poverty and progress; social mobility in a nineteenth century city