Changed the logic of image showing in right column