add listeners on tab buttons that make portfolio panes visible/invisible