added viewport
Merge pull request #273 from creighton/master

added viewport