It's an old fix added to close menues on tap, probably outdated by now. Though I asked for help with this long time ago in google group, but turned out to be in elgg.org pm, sorry. Because the right solution would be to tix it in core ui.js, I think.