change images if its closed