fixed wrong window dimensions
Merge pull request #9 from unyuk/master

window width and height swapped