fix transform origins; format code on the slide