fixing svg hover and stopping repeats until animation finishes