A page switching framework for your Phonegap app