Infinite Marquee Stuck

Hey i m basically doing an animation like the Fabio Fantalino (Link below)
It has an infinite marquee. Now, i build infinite marquee but it doesnt stop on hover out and when i scroll on it before the first animation finished. it stucks. So, is there a way to stop the animation half way.

Fabio Fantalolino Link: [LINK]1
([My website link]2)