Hide caption when image change