modify the definition of playslider