Hi Mezo,
Problem with white bar appears only when you are running your pages from app comiled by Sentenza. We don’t officially suppport Sentenza now, but you can edit your HTML to avoid the problem.
So, open HTML file you’ve got from codegen and add this line above any other <script> tags:
<script type="text/javascript">window.PhoneGap={}</script>
Please let me know if it helps.