I'm using an jQuery framework - jcarousel.js to order some items horizontally on a page in my mobile app builded in jQuery Mobile+ HTML.
When I navigating to page,first I getting from web service all the images, putting them in a vertical list - <ul> dynamically using JavaScript
, and calling the script from index this way:
   $('#imagesPage').live('pageshow', function (event, ui) {
        jQuery('#imagesList').jcarousel({visible:2});
   });
It works fine in some mobile device's, but in iPhone for example while navigating to that page, it done slowly, so you see first the vertical list and after 1-2 sec it changes to horizontal list.
How can I improve it so I wont see the few seconds changing delay from vertical to horizontal and show the page only after list was orginzed currectly.