menu auto collapses now after selecting a page