Adding event on slider release

according to issue 9