Added all the moving collision code to particle and crystal.