fixing carousel so the correct photo is loaded

fixing carousel so the correct photo is loaded