Anticipatory movement timing using prediction and external cues