fixed issue 1507, menu links problems with mobile user agent, thanks Paolo Valleri