Use component.id while creating interactive slider