Density aware minimum scale method
Ported min scale PR into ScaleImageView