adding options for configuring viewport size
minor logic error all set now
Merge pull request #9 from exoprise/master

added options for viewport width and height config