Fixed animation issue

Stopped the fadeout animation running before showing the loader to prevent the case where it's shown during a fade out, causing it to disappear again once the fade out completes.
Merge pull request #6 from martynsmall/master

Fixed animation issue