restore viewport to device width