[SOLVED]View - page render problem in Android

I have converted an app to version 2 and if I click on the last tab(the menu page) with the dots, and then load for example the link PINTERESTGALLERI - SORTERA and then click on one of the images and then click back to the menu, then the menu page get all white, it is not rendering the menu right. It is there, but not visible all the time. If you click on the another tab ex. “LUNCH MENY” and then again at the menu tab, then it is renderad.

Version 2

version 1

In versin1 I had set

var mainView = myApp.addView(’.view-main’, {

when I created the view.

So I tested to set this in version2.

var mainView = app.views.create(’.view-main’, {
url: ‘/mer/’,
// looks better with js

And it seams to work now.