Hiding the collapses when tab changes