fixed events listening in methods show/hide
Merge branch 'bugfix-showhide'