Why divs loose position in view?

I use the wookmark (pinterest style) script and if I use just one view the layout is never loosing its positions and it works the hole time. Even when it is reopened from the background when it has been closed.

But if I use multiple(tabbar style) and is in one of the other views and close it and reopen it then the positions of the layout divs is lost in the first view( the main view).

And it sometimes looses it when just navigating between the different views.

So why does it lose the position when using multiple views?
Any input appeciated!