apply margin right between images in drag & drop