hide mobile navigation bar after navigation

When using this plugin with Bootstrap (a fairly common usage) the mobile navigation bar won't automatically close after navigating to a section. This PR automatically collapses the mobile menu after navigation so that the user doesn't have to manually close it to read content.