fix viewport for all devices