adds ability to toggle navbar on click, examples