make movement of particles smooth