Sorry I was just working with Glenn's profile before I posted here.
We have two scenarios A and B and only the one way can be correct and the one way incorrect.
A. 95% of the time it will only show one row of 3 images. The other two will only appear in the row when the side bar is closed.
B. 5% of the time it will show 3 images and 2 below the 3. When the side bar is closed the 2 below will then move into the same row as the top 3 thus showing 5 in one row.
(as in the attached images in the opening post)
Anyway it looks like we may as well drop this one as it is going no place fast.