Added TouchImageView class and set up fragment template