Optimizing menu functionality

Optimized menu behavior for both js and no-js interaction. Added styles
to dropdowns