click to dismiss the image view