repositioned images to left and right