Social mobility and political inertia