KB-404 Make gallery grow when there are more than 5 images