Fixed some bugs which caused sliders not too work, changed slider trigger events to 'on released' to reduce thread load.