The zpmobile theme is using the old jquery mobile framekwork (which is not developed anymore as well) which overtakes the whole page display using its own JS stuff. This is known to casue trouble with other JS scripts. That is not solvable. A reason why this theme is internally deprecated already for us. Perhaps try another responsive (3rd party) theme instead like zpBoostrap.
Okay, the zenpage theme is a bit aged too and not responsive (and it never will btw). You find the general function documentation here: https://docs.zenphoto.org/1.5.x/
All general template functions are in the zp-core file of the same name otherwise.