added sliding on off button