added change event on mouse out/up
merget upstream
changed handles to lines