Update the URL when changing the geom search, and handle URL history