Propagation of shear waves in viscoelastic medium at irregular boundaries