I\'ve had a continued problem with div blocks stretching along the entire width of my iPad\'s screen. It seems to stop about 20 pixels from the right side of the screen.
You got the width size incorrect. But no need to worry. You just need to have 1024 instead of 1004.
Hope this helps!
this works
<meta name="viewport" content="width=1003, initial-scale=1, maximum-scale=1">