Stopping on going animation if starting a new one on an element