making the sample carousel work properly in the docs