2d movement of dots