Fix mobile redirect bug

Link fix to window.location.replace