Resize the map based on window size.
Merge pull request #2 from lossyrob/master

Resize the map based on window size.