Having History Track Your Layer Visibility
By default, the History palette tracks the last 20 things you did in Photoshop, but (weird as this may sound), it doesn’t track when you hide or show a layer. For some reason, it just doesn’t record that. Well, that is unless you know this tip: Go to the History palette’s flyout menu and choose History Options. When the History Options dialog appears, turn on the checkbox for Make Layer Visibility Change Undoable. Now, you can undo your showing and hiding of layers from the History palette.