Rather than remembering whether the user has tapped on a thumbnail, it would be cleaner to test whether the frame has any content. You might be able to test currentFrame.displayingImage