Made the intro animation into a function to be called on