Compensates for long load times with ajax loading gif