add transform for the view