bug: when viewing a location within a category, routing to the same category from the menu does not hide the info panel
fix: use better regex search to detect switching location in the map handler