setting the viewport to the device width