Collpase navbar update

Fixed bug with navbar collpase