add class .visited for visited field