photo index button fix