adding hide/show event listeners