Vertical migration of particles in front of a moving freezing plane