On the existence of a periodic dislocation cycle in horizontally layered viscoelastic models