add cancel event to sliders

cancel event support for sliders, documentation and samples.