add starting slide logic