persist carousel content on change