added auto collapse navigation menu