Can someone help me figure out how to smoothly flip my image vertically using rotateX after a few minutes at its center position? The image is flipping, but not on its actual center. It seems to be rotating from a point above the image. I've tried adjusting the rotation coordinates with no success. Any assistance would be greatly appreciated.
You can view my code on JsFiddle:
https://jsfiddle.net/bh7x7weg/
Thank you in advance!