Fixed the error that occurs when clicking back button when only images are in slideshow
Ken Burns Effect implementation