Adding navigation toggle and updating sidebar