HTML5: showing/hiding elements when navbar buttons are clicked