Viscoelastic modelling of grounding line migration