[#45333699, #44156007] Fixed the CSS issue in menu and added handler for displaying the active tab