added efficient way to remove the imageView