Add a loading spinner during page load