added selecting and movement on click for persons