playing around with the image size in the UI view
the ViewTreeObserver code is used to print log statements with the imageview with. It's for debugging purposes