add _cleanupSlideTransition to allow more complicated transitions