Responsive mobile menu with jquery mobile

Responsive mobile menu with jquery mobile

hello,

After a lot of hours, I don`t know what to do anymore.

I created a simple html page with a RMM menu. I want to use this with jquery mobile navigation. Still after a lot of tries and searching on google, i cannot find the perfect solution.

//REPLACED THE CODE WITH JS FIDDLE
https://jsfiddle.net/tk7kvr8d/


Can someone please tell me why after clicking on Upload foto button, the menu disappear?(I think it is a problem with the CSS)