JS - Mobile Nav

The nav slides in from the top. Added a separate file called
functions.js for all the snippets (so far 2, nav-related).