This isn't mobile related. It's probably more slow server/connection related that makes it visible.
But basically, it's because the menu thinks it is still being shown when the Ajax request comes back. Just needed to detect if it has been closed already.