Fixes media images sequence

Nothing seemed to happen when the order of product images changed. I added a php file for the ajax call so the order of the images can change in the datagrid.