viewport url reload and saving visitedURLs