move transformations to view renderer