edited instagram call to loop through pictures