code clean up for pull requests to official sigma.js repository

- remove mouseup and mousedown events in render
- use hide and show instead add/delete