put map panel into a separte file