private void onAnimationComplete() {
		currentIndex = 0;
		
		if(numLoops > 0){
			numLoops--;
		// Set animating to false
		}else if (numLoops == 0) {
			animating = false;
			System.out.println("aoetusaoethu");
		}
		animationCompletion();
	}