Removing cycle and slideshow resources which aren't used