added slider methdod getter setter Pwm