DICOM handling

TODO: zooming out and in is reversed when image is smaller than viewport