Added e.stopPropogation(); to click function to fix interaction with bootstrap navbars