add page loading spinner