_s: Simplify navigation script and styles.

Let's open another pull request for #200! :)

It removes unneeded class changes and should also fix the hidden navigation bug on resizing the browser window.