Drag to dismiss a UIPresentationController

I have made a UIPresentationController that shows up on half of the screen using this tutorial. Now I would love to add drag to dismiss on the same level of smoothness as the iOS 13 modal drag to dismiss (which I thought would get carried over but it doesn't).

Every bit of code and tutorial I found had a bad dragging experience. Does anyone know how to do this? I've been trying / searching for the past week. Thank you in advance