added a flip counter for animating the score