made page view work for the map