drag is almost there.
Updated Code