Added viewport for devices.