Fix header

Now the header and the map should behave right inside the panel.