XWIKI-11336: Ensure the applications panel configuration works on touch-screen devices.

* Better fix to handle the asynchronous nature of requirejs.