Modify singlephotoCtrl.js to get a single photo to display correctly