changed trigger event to a click to reveal the navigation bar