styles addeadds styles for dropdown menu on media query and fixes bugs in navigation.js