Fixed show/hide closed class bug.