I’m not really understanding how you have your animation setup such that it does not play again after window resize (and loading a new layout). Is it in a persistent symbol?
This comes to mind: Have a viewport timeline animation play only once… But I"m not perfectly clear on what your end goal is. Perhaps a timeline ‘continue’ action would satisfy this?