added feedback for clicking visited node