random and pause movement for path