making the pics align better inside the each loop