hides and shows two images