Fix navbar collapsing animation
Collapse the navbar on page change