visited places are appending and toggling