set viewport to device width