logic and theme stuff for returning to a search from the object page