On the existence of pullback attractor for a two-dimensional shear flow with Tresca's boundary condition