add switch location event handler on the info panel for category/location route