Images in gallery become smaller