changed transforms to a view

further simplified stack push/pop