changes to span4 for gallery