Enable / disable slider component.