Unitheme 2 fly menu behaviour on desktop like on mobile

Hi guys,

I am trying to change the default behavior of the fly menu on the desktop to work the same way on mobile.
So instead of showing a list of categories on hover show them inside the side menu window like on mobile.
I have found the js file responsible for it but even if I disable or remove the function responsible for the desktop it is still showing categories on hover.

I’ll appreciate any help.