added waiting gif while page is loading