added up functionality for diashow photos in order to change the order of dias in its diashow