Menu: Added support for wb-navcurr highlighting in the mobile panel (fixes #4916) and fixed compatibility issue with details/summary polyfill