Fixed the issue to show more images in one row