changed closing behavior

after clicking a link in the menu, menu only closes if the default
anchor behavior is prevented (event.preventDefault) for smoother page
transitions.
Also renamed the option "onClick.setLocationHref" to
!"onClick.preventDefault" as it better describes what it does.