added a state (AnimationState) for displaying slideshows and made some changes to SlideShow class to enable this upgrade