add the feature to rotate through photos in a theme