Questo perchè esegui entrambe nello stesso thread.

E' ovvio che dovrai usare un secondo thread per mostrare l'animazione.