Fix submenu placement and handle window.resize event
Improve navbar user experience