Have you tried to isolate the tabs rendering in an empty page? Try to render the tabs in a separate screen and open it with your tablet again. Maybe it's your previous page code messing with the tabs rendering script...