Add support for high resolution displays

See #6.