added the toggle for each photos