Remove visited route functionality