every third click flipped class is removed