fixed a few rerouting bugs and links for mobile