Adding class for images to center