click and drag feature implemented