add structure to magocGalary to help it remeber last time images position structure