cleanup slide config and add title and subtitle