Changing size of photo gallery