Correct icon states when toggling details pane
Merge pull request #1846 from opf/fix/icon-stat-wp-details-buttons