adding route for distance when user clicks somehting from the splash page