Gallery thumbs in Upfront (Spirit) theme suddenly vertical

Hi I don't know what i did: suddenly all the thumbnails in my image galleries (spirit theme modified through upfront) are stacked vertically and justified left. I looked at the css and it seems the galleries have some king of javascript driving their positioning (position:absolute). could you take a look? I've spent hours and am completely at a loss. one of the pages with a gallery on it is I've enabled Support Access.