add viewport property to renderer
Merge pull request #154 from indiscible/upstream-dev

add viewport property to renderer