Added loading gif to page loads