showing a viewer on clicking of property