Get everything to work with dragging

I think this is a working solution?
Cannot believe this didn’t occur to me.