Integrated gesture and scaling in ScaleableImageView