Stray if statement

If statement for the image grid not needed.