Telescoping slide for linear motion