Added viewport code to support mobile devices.