Added pinch zoom functionality by extending imageview