Spinner while loading main document