Brett,
The CV joints don't slide on the shaft, the splines are for drive only. As Andy says they should be locked in position with a dished washer and then a second circlip. The length of the shaft is adjusted by the movement in the CV joints themselves.
Brian