In Android 4.4.2 problem with sidebar

Hello , i have a problem in my ionic app , I have a class in my html tag:

and when I make a change in my app it changes the class of my html so I can have custom css

I Do that in my controller:
$rootScope.themeName = theme_name;

so that line is causing me a problem in my sidebar only in a specific version in android(4.4.2) , in other version it works well

the problem it causes is that my sidebar is closing alone.

Ionic version: 1.7.16
cordova: 6.4.0
Cordova android version: 5.1.1
Android version that happens the problem: 4.4.2