add 'slides' variable defintion to _cleanupSlideTransition