new div is created for each element with for loop in imgUrlArray