updateAnimation function can now call rows and columns on the spriteSheet