This function should probably be a method and it should be bound up like the rest of them (a few lines down from here). Further, it should only be added to the offset parent when dragging is active, and then removed when dragging ends. Finally, it should be removed on invocation of the `detach` method.