Loading element to be displayed while a resource is loading