removed trailing spaces
now resizes map when changing window size refs #225