fix issue in nav collapsing