adjusting how loading gif works