The stability of grounding lines on retrograde slopes