Dynamics of displacement in mixed-wet porous media