Sensitivity of groundling line dynamics to viscoelastic deformation of the solid Earth