The photo carousel now properly rotates images based on their orientation