Nonlinear dynamics of the viscoelastic Kolmogorov flow