tweaking photo gallery