fixed one bug dividing an int by 2, improved TouchImageView centering image after zooming out, and a new function: get pin position in pixels