Implements click and drag feature for svg circles.