:gb: Implemented dragging logic and polar coordinate function