Set page size based upon user agent.