added slider enable/disable API