Improve show/hide mechanism by using CSS class.