I am currently developing my first web application and am facing a problem. When the application is open, the navigation div along the bottom (in the photo below) is displayed perfectly, the same way when I rotate the iPad to the portrait. But when I turn from portrait to landscape, it seems to maintain the same width, at least until I touch the screen. This is not a serious problem, as it returns to normal when I start to scroll, but its a bit untidy look. I have added some images:
Portrait:

After turning from Portrait to Landscape: 
This is the CSS I use for this div:
nav {background-image: linear-gradient(bottom, rgb(0,0,0) 15%, rgb(51,51,51) 69%); background-image: -o-linear-gradient(bottom, rgb(0,0,0) 15%, rgb(51,51,51) 69%); background-image: -moz-linear-gradient(bottom, rgb(0,0,0) 15%, rgb(51,51,51) 69%); background-image: -webkit-linear-gradient(bottom, rgb(0,0,0) 15%, rgb(51,51,51) 69%); background-image: -ms-linear-gradient(bottom, rgb(0,0,0) 15%, rgb(51,51,51) 69%); background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0.15, rgb(0,0,0)), color-stop(0.69, rgb(51,51,51))); border-top: 1px solid #000; text-align: center; position: fixed; bottom: 0px; left: 0px; width: 100%; height: 51px; color:#CCC; font-size:11.3px; font-weight:bold; overflow: hidden; margin: 0 auto 0;}
Is there a way around this and if the div automatically fills the width of the screen without touching the user?