made jquery styling change for when the number of pictures to be assigned patients is less than 7