it has to be do{} while() construction, because there is 6 elements only at the beginning and at the end. First time it has to be clicked always.