add support for (optional) hidpi mode