animation works

The animation now works but is not centered properly