adds content transitions