Added a toggle feature to the navbar