A simple toy model for coupled retreat and detachment of subducting slabs