redesign index for photoBtn