fixed the click off to close bubble, and remove bubble on drag