1. slide function completed. If a particle is trying to get out,
   it will retain the same angle, but travel the distance that is
   same as the distance between the crossing point and the projection.
Code for multiple movements completed.