Effect of boundary slip on the propagation of S-waves