Disable showIDE when last slide is not an IDE