upgraded to phonegap 3.1. Moved all contents to template. Fixed ios 7 header issue.