Viewport with to height
Added more support for transform