Fixed dropdown navigation

Edits to js/main.js and style.css