fixing bug with reneding content for new slides on style mode