adding hidpi support closes #220