Adding viewport metadata for mobile clients