updated navigation collapsing