fix #74. show/hide detail with click event.