Add a fallback for viewport size

Should fix issue #3 - getting the bounds fails when the map container is smaller than intended for the activearea div.