Made the maps fit to the size of the device