Change positions of main image and miniatures