Improve mobile menu

By adding a check if the html text even exists.