Ion modal + slide box not working in Android under 4.4


i am trying to create picture gallery, something like this:

And this works only in Android 4.4 and above, but not working in Android versions of 4.3, 4.2, 4.1, 4.0 and under.
Ive tested it on all devices.
It is working on Chrome-view but not on built in android web view.
The problem is when i click on the image, it will always open full screen of the last picture(slide) in slide box and
slide box not working at all(no sliding left and right).

Pls, help me with this problem, or suggest me some other gallery solutions that i can implement.