slider works for both anim and sound