resize map whenever window size or device orientation changes