That looks like a good suggestion.
The only DIY one I can think of would be a weighted pulley idea - kind of like the way the nozzle of the sink works - as you pull the nozzle out, the weight rises, and then when you allow the nozzle to go back in, the weight pulls the "cord" back into the sink area below the counter.
That could be made to work with a pulley, for your app I think.