only showing carousel after it is on the dom