Adjust positioning of elements so that thumbnails do not overlap visible image.