Creates a new instance of the LoadingPage class.
Overridden to start an animation when the page is displayed on screen.