Implemented router and now support back button. Also collapsing navbar after navigation click