Zaslat SMS: Viscoelastic confinement induces periodic flow reversals in active nematics