Added new functionality for animation orientation of slides.