Influence of temperature-dependent shear viscosity on elliptic flow at backward and forward rapidities in ultrarelativistic heavy-ion collisions