updated legacy browser location switch on category link click