refactroring - extract map and altitude panels